Skip to content

Commit 544c3e8

Browse files
committed
Clarify build process
Add build and run instructions to README Add jar manifest Ignore .class and .jar files Remove compiled jar from repository
1 parent de4cbb9 commit 544c3e8

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,17 @@ https://www.youtube.com/watch?v=zcO8uxg_Spw
1414

1515
Spiral Dots:
1616
https://www.youtube.com/watch?v=jrHLeKwMzfI
17+
18+
# How to use
19+
20+
### Build
21+
```
22+
mkdir -p dist target
23+
javac src/array/visualizer/ArrayVisualizer.java -sourcepath src -d target/
24+
jar -cvfm dist/ArrayVisualizer.jar manifest.mf -C target/ ./
25+
```
26+
27+
### Run
28+
```
29+
java -jar dist/ArrayVisualizer.jar
30+
```

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)