mirror of
https://github.com/google/nomulus.git
synced 2025-05-24 21:20:08 +02:00
Add vim file ignore rule, and make build work on MacOS
This commit is contained in:
parent
a7aeb1924a
commit
9a53cba74d
2 changed files with 7 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -76,3 +76,8 @@ autogenerated/
|
|||
# Python Ignores
|
||||
|
||||
*.pyc
|
||||
|
||||
######################################################################
|
||||
# Vim Temp Ignores
|
||||
*~
|
||||
|
||||
|
|
|
@ -44,9 +44,9 @@ genrule(
|
|||
"cp $(SRCS) $$TMP",
|
||||
"cd $$TMP",
|
||||
"$$XJC -npa -quiet -extension -d $$OUT -b *.xjb *.xsd",
|
||||
("find $$OUT -name '*.java' | xargs sed -i 's/" +
|
||||
("find $$OUT -name '*.java' | xargs sed -i.bak 's/" +
|
||||
"public class/" +
|
||||
"@SuppressWarnings({\"unchecked\",\"serial\",\"cast\"}) " +
|
||||
"@SuppressWarnings({\"unchecked\",\"serial\",\"cast\"})\\\n" +
|
||||
"public class/'"),
|
||||
"cd $$REP",
|
||||
"rm -rf $$TMP",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue