diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..eca4afe --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#/bin/sh +mvn clean install +mkdir target/hebdobot +cp target/hebdobot-*.jar target/hebdobot/hebdobot.jar +cp exe/* target/hebdobot +cp LICENSE target/hebdobot +mvn dependency:copy-dependencies -DoutputDirectory=target/hebdobot/lib +launch4j launch4j.xml +(cd target; zip -r9 hebdobot.zip hebdobot) diff --git a/exe/hebdobot.sh b/exe/hebdobot.sh new file mode 100755 index 0000000..bdbb693 --- /dev/null +++ b/exe/hebdobot.sh @@ -0,0 +1,2 @@ +#!/bin/sh +java -cp '*:lib/*' fr.imirhil.april.hebdobot.Bot diff --git a/launch4j.xml b/launch4j.xml new file mode 100644 index 0000000..91520b6 --- /dev/null +++ b/launch4j.xml @@ -0,0 +1,20 @@ + + true + console + hebdobot.jar + target/hebdobot/hebdobot.exe + . + normal + http://java.com/download + false + false + hebdobot.ico + + fr.imirhil..april.hebdobot.Bot + lib/* + + + 1.6.0 + preferJre + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index cc607b0..d0c4e01 100644 --- a/pom.xml +++ b/pom.xml @@ -2,8 +2,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 fr.imirhil.april - ircbot + hebdobot 1.0.0-SNAPSHOT + + scm:hg:file://${basedir} +