PromucFlow_constructor/app/server/build.sh
Arpit Mohan b3c987a9f9 Convert the project into a multi-module structure
We are moving to a multi-module structure so that different parts of the codebase can be exposed to the public while others can remain private. Using pf4j for plugin framework.

Also adding a build script `build.sh` which compiles the code and creates the `dist` folder for distribution purposes. Now we can build the code via

```
$ ./build.sh -DskipTests
```
2019-09-16 11:21:57 +00:00

20 lines
396 B
Bash
Executable File

#!/bin/bash
# Remove previous dist directory
# Build the code. $@ accepts all the parameters from the input command line and uses it in the maven build command
mvn clean package "$@"
# Create the dist directory
mkdir -p dist/plugins
# Copy the server jar
cp ./appsmith-server/target/server-1.0-SNAPSHOT.jar dist/
# Copy all the plugins
cp ./appsmith-plugins/*/target/*.jar dist/plugins/