parent
06c7303988
commit
c09c2eb248
@ -1,5 +1,8 @@ |
|||||||
/bin/ |
/bin/ |
||||||
/target/ |
/target/ |
||||||
/.rogue-save/ |
/.rogue-save/ |
||||||
|
/build/.rogue-save/ |
||||||
|
/build/out/*.jar |
||||||
|
/build/in/*.jar |
||||||
*.log |
*.log |
||||||
.attach_pid* |
.attach_pid* |
@ -0,0 +1,32 @@ |
|||||||
|
STUB = ./stub.jar
|
||||||
|
|
||||||
|
IN_DIR = ./in
|
||||||
|
IN = $(IN_DIR)/build.jar
|
||||||
|
|
||||||
|
OUT_DIR = ./out
|
||||||
|
OUT = $(OUT_DIR)/release.jar
|
||||||
|
|
||||||
|
TMP_DIR = ./tmp
|
||||||
|
|
||||||
|
all: |
||||||
|
# clean
|
||||||
|
mkdir -p $(TMP_DIR)
|
||||||
|
mkdir -p $(OUT_DIR)
|
||||||
|
|
||||||
|
# extract
|
||||||
|
unzip $(IN) -d $(TMP_DIR)
|
||||||
|
|
||||||
|
rm -rf $(TMP_DIR)/META-INF
|
||||||
|
|
||||||
|
unzip $(STUB) -d $(TMP_DIR)
|
||||||
|
|
||||||
|
# export
|
||||||
|
(cd $(TMP_DIR); zip -r9 ./pack.zip .)
|
||||||
|
mv -f $(TMP_DIR)/pack.zip $(OUT)
|
||||||
|
chmod +x $(OUT)
|
||||||
|
|
||||||
|
# clean
|
||||||
|
rm -rf $(TMP_DIR)
|
||||||
|
|
||||||
|
run: |
||||||
|
java -jar $(OUT)
|
@ -0,0 +1,17 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||||
|
<jardesc> |
||||||
|
<jar path="Rogue/build/in/build.jar"/> |
||||||
|
<options buildIfNeeded="true" compress="false" descriptionLocation="/Rogue/build/export.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="true" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/> |
||||||
|
<storedRefactorings deprecationInfo="true" structuralOnly="false"/> |
||||||
|
<selectedProjects/> |
||||||
|
<manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true"> |
||||||
|
<sealing sealJar="false"> |
||||||
|
<packagesToSeal/> |
||||||
|
<packagesToUnSeal/> |
||||||
|
</sealing> |
||||||
|
</manifest> |
||||||
|
<selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false"> |
||||||
|
<javaElement handleIdentifier="=Rogue/src"/> |
||||||
|
<folder path="/Rogue/res"/> |
||||||
|
</selectedElements> |
||||||
|
</jardesc> |
Binary file not shown.
@ -0,0 +1,2 @@ |
|||||||
|
#! /bin/bash |
||||||
|
java -jar ./jarsplice-0.40.jar |
Binary file not shown.
Loading…
Reference in new issue