mirror of
https://github.com/google/nomulus
synced 2026-01-09 15:43:52 +00:00
Add vim file ignore rule, and make build work on MacOS
This commit is contained in:
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",
|
||||
|
||||
Reference in New Issue
Block a user