blob: 3fb9241c1c1dbf1919fdcee70986c4e5fdc01bec [file] [log] [blame]
#!/usr/bin/env bash
# Runs all the code generators.
# If the node structure was changed, first!
# Remember current directory
pushd javaparser-core-generators
# Generate code
mvn clean package -P run-core-generators -DskipTests
# Go back to previous directory
# Fresh code has been generated in core, so rebuild the whole thing again.
mvn clean install -DskipTests
if [ "$?" -ne 0 ]; then
exit 1