mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 12:19:35 +02:00
Revert "Build on OS X"
Wait for proper push with cleaner solution.
This reverts commit 6469d58d98
.
This commit is contained in:
parent
6469d58d98
commit
a7aeb1924a
1 changed files with 2 additions and 3 deletions
|
@ -40,14 +40,13 @@ genrule(
|
||||||
"XJC=$$REP/$(location @com_sun_xml_bind_jaxb_xjc//:XJCFacade)",
|
"XJC=$$REP/$(location @com_sun_xml_bind_jaxb_xjc//:XJCFacade)",
|
||||||
"OUT=$$REP/$(GENDIR)/java",
|
"OUT=$$REP/$(GENDIR)/java",
|
||||||
"TMP=$$(mktemp -d $${TMPDIR:-/tmp}/jaxb.XXXXXXXXXX)",
|
"TMP=$$(mktemp -d $${TMPDIR:-/tmp}/jaxb.XXXXXXXXXX)",
|
||||||
"if [ $$(uname) = Darwin ]; then SEDI=\"-i ''\"; else SEDI='-i'; fi",
|
|
||||||
"mkdir -p $$OUT",
|
"mkdir -p $$OUT",
|
||||||
"cp $(SRCS) $$TMP",
|
"cp $(SRCS) $$TMP",
|
||||||
"cd $$TMP",
|
"cd $$TMP",
|
||||||
"$$XJC -npa -quiet -extension -d $$OUT -b *.xjb *.xsd",
|
"$$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/" +
|
"public class/" +
|
||||||
"@SuppressWarnings({\"unchecked\",\"serial\",\"cast\"})\\\n" +
|
"@SuppressWarnings({\"unchecked\",\"serial\",\"cast\"}) " +
|
||||||
"public class/'"),
|
"public class/'"),
|
||||||
"cd $$REP",
|
"cd $$REP",
|
||||||
"rm -rf $$TMP",
|
"rm -rf $$TMP",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue