NichtHaskell2.0/src/test/Makefile

30 lines
882 B
Makefile
Raw Normal View History

# Makefile
### IntelliJs play buttons do not work. Run in "src/test" folder with "make" command to run all
2024-06-19 10:49:46 +00:00
### Or run only parts with "make compile-javac", "make clean" etc.
2024-06-12 16:01:21 +00:00
all: compile-javac compile-raupenpiler
compile-javac:
2024-06-12 09:17:16 +00:00
javac -d .\resources\output\javac .\resources\input\CompilerInput.java
compile-raupenpiler:
2024-06-12 16:01:21 +00:00
cd ../.. ; mvn -DskipTests package
2024-06-17 11:42:56 +00:00
cd ../.. ; mvn exec:java -Dexec.mainClass="Main" -Dexec.args="'src/main/resources/input/CompilerInput.java' 'src/main/resources/output' "
2024-06-17 11:42:56 +00:00
test: test-javac test-raupenpiler
test-javac:
2024-06-17 15:42:50 +00:00
#compile-javac
#java -cp .\resources\output\javac CompilerInput
2024-06-17 11:42:56 +00:00
test-raupenpiler:
2024-06-17 15:42:50 +00:00
#java -cp .\resources\output\raupenpiler CompilerInput
2024-06-12 16:01:21 +00:00
clean:
rm -f ./resources/output/javac/*.class
rm -f ./resources/output/raupenpiler/*.class
rm -f ./java/*.class
2024-06-12 09:17:16 +00:00
rm -f ../main/resources/output/*.class
2024-06-19 10:49:46 +00:00
rm -f ../main/resources/logs/*.log