• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env bash
2
3# Runs all the code generators.
4# If the node structure was changed, run_metamodel_generator.sh first!
5
6# Remember current directory
7pushd javaparser-core-generators
8
9# Generate code
10mvn clean package -P run-core-generators -DskipTests
11
12# Go back to previous directory
13popd
14
15# Fresh code has been generated in core, so rebuild the whole thing again.
16mvn clean install -DskipTests
17if [ "$?" -ne 0 ]; then
18    exit 1
19fi
20