mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +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
|
@ -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