aboutsummaryrefslogtreecommitdiff
path: root/run_core_generators.sh
diff options
context:
space:
mode:
authorDanny van Bruggen <hexagonaal@gmail.com>2017-06-28 14:27:05 +0200
committerDanny van Bruggen <hexagonaal@gmail.com>2017-06-28 14:27:05 +0200
commit6c7b8708e64ca2738118da5327cdb1fc251cf055 (patch)
treee4b8805dd5106758f42d953607c23624ea0eea92 /run_core_generators.sh
parente5b4348c8b070224916a1cf02b67fc0d528e0cdb (diff)
downloadjavaparser-6c7b8708e64ca2738118da5327cdb1fc251cf055.tar.gz
Document the scripts
Diffstat (limited to 'run_core_generators.sh')
-rwxr-xr-xrun_core_generators.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_core_generators.sh b/run_core_generators.sh
index 0410247bd..e7dfac220 100755
--- a/run_core_generators.sh
+++ b/run_core_generators.sh
@@ -3,13 +3,18 @@
# Runs all the code generators.
# If the node structure was changed, run_metamodel_generator.sh first!
+# Remember current directory
pushd javaparser-core-generators
+# Generate code
mvn clean package
+# Go back to previous directory
popd
+# Fresh code has been generated in core, so rebuild the whole thing again.
mvn clean install -DskipTests
if [ "$?" -ne 0 ]; then
exit 1
fi
+Well \ No newline at end of file