Add setup
This commit is contained in:
parent
44fa9b9457
commit
cbdc8ee4a2
9
build.sh
Executable file
9
build.sh
Executable file
@ -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)
|
2
exe/hebdobot.sh
Executable file
2
exe/hebdobot.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
java -cp '*:lib/*' fr.imirhil.april.hebdobot.Bot
|
20
launch4j.xml
Normal file
20
launch4j.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<launch4jConfig>
|
||||
<dontWrapJar>true</dontWrapJar>
|
||||
<headerType>console</headerType>
|
||||
<jar>hebdobot.jar</jar>
|
||||
<outfile>target/hebdobot/hebdobot.exe</outfile>
|
||||
<chdir>.</chdir>
|
||||
<priority>normal</priority>
|
||||
<downloadUrl>http://java.com/download</downloadUrl>
|
||||
<customProcName>false</customProcName>
|
||||
<stayAlive>false</stayAlive>
|
||||
<icon>hebdobot.ico</icon>
|
||||
<classPath>
|
||||
<mainClass>fr.imirhil..april.hebdobot.Bot</mainClass>
|
||||
<cp>lib/*</cp>
|
||||
</classPath>
|
||||
<jre>
|
||||
<minVersion>1.6.0</minVersion>
|
||||
<jdkPreference>preferJre</jdkPreference>
|
||||
</jre>
|
||||
</launch4jConfig>
|
5
pom.xml
5
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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>fr.imirhil.april</groupId>
|
||||
<artifactId>ircbot</artifactId>
|
||||
<artifactId>hebdobot</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<scm>
|
||||
<connection>scm:hg:file://${basedir}</connection>
|
||||
</scm>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
Loading…
Reference in New Issue
Block a user