mirror of
https://github.com/google/nomulus
synced 2026-01-08 07:11:44 +00:00
Revert "Build on OS X"
Wait for proper push with cleaner solution.
This reverts commit 6469d58d98.
This commit is contained in:
@@ -40,14 +40,13 @@ genrule(
|
||||
"XJC=$$REP/$(location @com_sun_xml_bind_jaxb_xjc//:XJCFacade)",
|
||||
"OUT=$$REP/$(GENDIR)/java",
|
||||
"TMP=$$(mktemp -d $${TMPDIR:-/tmp}/jaxb.XXXXXXXXXX)",
|
||||
"if [ $$(uname) = Darwin ]; then SEDI=\"-i ''\"; else SEDI='-i'; fi",
|
||||
"mkdir -p $$OUT",
|
||||
"cp $(SRCS) $$TMP",
|
||||
"cd $$TMP",
|
||||
"$$XJC -npa -quiet -extension -d $$OUT -b *.xjb *.xsd",
|
||||
("find $$OUT -name '*.java' | xargs sed $$SEDI 's/" +
|
||||
("find $$OUT -name '*.java' | xargs sed -i 's/" +
|
||||
"public class/" +
|
||||
"@SuppressWarnings({\"unchecked\",\"serial\",\"cast\"})\\\n" +
|
||||
"@SuppressWarnings({\"unchecked\",\"serial\",\"cast\"}) " +
|
||||
"public class/'"),
|
||||
"cd $$REP",
|
||||
"rm -rf $$TMP",
|
||||
|
||||
Reference in New Issue
Block a user