Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
feature : add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
xndxcsd committed Sep 22, 2017
1 parent 3566594 commit ef6e555
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cd ..
call mvn clean compile install
cd JSwu-client
call mvn clean
call mvn org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single
mv ./target/*.jar ../build/JSwu.jar
rm -rf ./target/
cd ..
call mvn clean
9 changes: 9 additions & 0 deletions build/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cd ..
mvn clean compile install
cd JSwu-client
mvn clean
mvn org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single
mv ./target/*.jar ../build/JSwu.jar
rm -rf ./target/
cd ..
mvn clean
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<!--这部分可有可无,加上的话则直接生成可运行jar包-->
<!--<archive>-->
Expand Down

0 comments on commit ef6e555

Please sign in to comment.