# Conflicts: # .gitignore # appsmith-plugins/mongoPlugin/plugin.properties # appsmith-plugins/postgresPlugin/plugin.properties # appsmith-plugins/rapidApiPlugin/plugin.properties # appsmith-plugins/restApiPlugin/plugin.properties # appsmith-plugins/restApiPlugin/src/main/java/com/external/plugins/RestApiPlugin.java # appsmith-server/src/main/java/com/appsmith/server/constants/FieldName.java # appsmith-server/src/main/java/com/appsmith/server/repositories/ActionRepository.java # appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java # appsmith-server/src/main/java/com/appsmith/server/services/DatasourceContextServiceImpl.java # appsmith-server/src/main/java/com/appsmith/server/services/DatasourceServiceImpl.java # appsmith-server/src/test/java/com/appsmith/server/services/ActionServiceTest.java # appsmith-server/src/test/java/com/appsmith/server/services/ApplicationServiceTest.java # appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java # appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java # build.sh
17 lines
439 B
Bash
Executable File
17 lines
439 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Remove previous dist directory
|
|
rm -rf dist/
|
|
|
|
# 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
|
|
rsync -av --exclude "original-*.jar" ./appsmith-plugins/*/target/*.jar dist/plugins/
|