19 lines
661 B
Bash
Executable File
19 lines
661 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ "$1" == "--debug" ]; then
|
|
shift
|
|
gradle -q uberJar && \
|
|
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8192 \
|
|
-cp build/libs/web-view-components-uber-0.1.2.jar \
|
|
org.codehaus.groovy.tools.FileSystemCompiler \
|
|
--configscript src/main/resources/groowt/view/component/web/groovyc/groovycConfigurationScript.groovy \
|
|
-d groovyc-out \
|
|
"$@"
|
|
else
|
|
gradle -q uberJar && \
|
|
groovyc -cp build/libs/web-view-components-uber-0.1.2.jar \
|
|
--configscript src/main/resources/groowt/view/component/web/groovyc/groovycConfigurationScript.groovy \
|
|
-d groovyc-out \
|
|
"$@"
|
|
fi
|