Skip to content

Commit 904fc84

Browse files
authored
Merge pull request #5 from Zoybean/build-process
Clarify build process
2 parents a7e9171 + f34bb12 commit 904fc84

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.jar
2+
*.class
3+

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,18 @@ Sorting Visualizer/Audiolizer
1717
[Variable Width TriMesh](https://www.youtube.com/watch?v=0tr6AtLu4pg)
1818

1919
[Color Circle](https://www.youtube.com/watch?v=sVYtGyPiGik)
20+
21+
# How to use
22+
23+
### Build
24+
```
25+
mkdir -p dist target
26+
javac src/array/visualizer/ArrayVisualizer.java -sourcepath src -d target/
27+
jar -cvfm dist/ArrayVisualizer.jar manifest.mf -C target/ ./
28+
```
29+
30+
### Run
31+
```
32+
java -jar dist/ArrayVisualizer.jar
33+
```
34+
=======

dist/ArrayVisualizer.jar

-118 KB
Binary file not shown.

manifest.mf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Created-By: 1.8.0_181 (Oracle Corporation)
3+
Main-Class: array.visualizer.ArrayVisualizer

0 commit comments

Comments
 (0)