2022-01-05 13:50:35 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-03-22 21:26:50 -04:00
|
|
|
# fixes the focus-stealing bug on macOS and seems to improve performance
|
|
|
|
export JAVA_TOOL_OPTIONS='-Djava.awt.headless=true'
|
|
|
|
|
|
|
|
# ensure that JAVA_HOME is set
|
2022-03-22 15:47:06 -04:00
|
|
|
export JAVA_HOME=${JAVA_HOME:-`asdf where java`}
|
|
|
|
|
2022-01-05 13:50:35 -05:00
|
|
|
ant generate-all
|
|
|
|
|
|
|
|
ant compile
|
|
|
|
|
|
|
|
ant compile_native
|
|
|
|
|