Skip to content

Commit

Permalink
Redo run scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Feb 16, 2022
1 parent 93440da commit 9aeafda
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
9 changes: 9 additions & 0 deletions run
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
./mvnw dependency:build-classpath -Dmdep.outputFile=target/classpath -Dmdep.regenerateFile=true -q
echo -n -cp target/classes:> target/cmdargs
cat target/classpath >> target/cmdargs
if [ "$1" != "" ]
then
java @target/cmdargs io.github.arrayv.main.ArrayVisualizer "%1"
else
java @target/cmdargs io.github.arrayv.main.ArrayVisualizer
fi
7 changes: 6 additions & 1 deletion run.bat
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
java -jar target/ArrayV-5.0-SNAPSHOT.jar %1
@echo off
call mvnw dependency:build-classpath -Dmdep.outputFile=target\classpath -Dmdep.regenerateFile=true -q
<NUL set /p=-cp target\classes;> target\cmdargs
type target\classpath >> target\cmdargs
title ArrayV
java @target\cmdargs io.github.arrayv.main.ArrayVisualizer %1
6 changes: 0 additions & 6 deletions run.sh

This file was deleted.

0 comments on commit 9aeafda

Please sign in to comment.