Skip to content

Commit 5796015

Browse files
authored
Add Linux build script
This works for a "quick and dirty" release build on the lab machines at University of Bristol. Use chmod +x build.sh to enable execution. Execute from the root directory of the repo. Output is ModuleSim-Test.jar If it works, rename to ModuleSim.jar and release.
1 parent cee3f4c commit 5796015

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
mkdir ./out
2+
find -name "*.java" > sources.txt
3+
javac -d ./out @sources.txt
4+
cd ./out
5+
find ../src -name "*.png" -exec cp '{}' ./com/modsim/res/ \;
6+
jar cfm ../ModuleSim-Test.jar ../src/META-INF/MANIFEST.MF ./
7+
cd ../
8+
rm ./sources.txt

0 commit comments

Comments
 (0)