From d049f53804943bd634f76153b9afbb9b1289361c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 8 Apr 2019 20:41:06 -0400 Subject: Small improvement to commands file. --- commands | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'commands') diff --git a/commands b/commands index 9350bdf6e..097e22da6 100644 --- a/commands +++ b/commands @@ -1,3 +1,13 @@ +# Count lines of code +find . -name '*.lux' | xargs wc -l + +# Clean All +cd ~/lux/luxc/ && lein clean && \ +cd ~/lux/stdlib/ && lein clean && \ +cd ~/lux/new-luxc/ && lein clean && \ +cd ~/lux/lux-js/ && lein clean && \ +cd ~/lux/lux-python/ && lein clean + # Old Lux compiler # Re-build and re-install cd ~/lux/luxc/ && lein clean && lein install @@ -33,7 +43,7 @@ cd ~/lux/lux-js/ && lein_2_7_1 lux auto build cd ~/lux/lux-js/ && lein clean && lein_2_7_1 lux auto build # Try - cd ~/lux/lux-js/ && java -jar target/program.jar build --source ~/lux/stdlib/source --source ~/lux/stdlib/test --target ~/lux/stdlib/target --module test/lux + cd ~/lux/lux-js/ && java -jar target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux # Python compiler # Test @@ -43,7 +53,7 @@ cd ~/lux/lux-python/ && lein_2_7_1 lux auto build cd ~/lux/lux-python/ && lein clean && lein_2_7_1 lux auto build # Try - cd ~/lux/lux-python/ && java -jar target/program.jar build --source ~/lux/stdlib/source --source ~/lux/stdlib/test --target ~/lux/stdlib/target --module test/lux + cd ~/lux/lux-python/ && java -jar target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux # Run compiler test suite cd ~/lux/new-luxc/ && lein_2_7_1 lux auto test @@ -51,15 +61,9 @@ cd ~/lux/new-luxc/ && lein clean && lein_2_7_1 lux auto test cd ~/lux/new-luxc/ && lein_2_7_1 lux auto build cd ~/lux/new-luxc/ && lein clean && lein_2_7_1 lux auto build -# Count lines of code -find . -name '*.lux' | xargs wc -l - -# Clean All -cd ~/lux/luxc/ && lein clean && cd ~/lux/stdlib/ && lein clean && cd ~/lux/new-luxc/ && lein clean - # REPL -cd ~/lux/new-luxc/ && java -jar target/program.jar repl --source ~/lux/stdlib/source --source ~/lux/stdlib/test --target ~/lux/stdlib/target +cd ~/lux/new-luxc/ && java -jar target/program.jar repl --source ~/lux/stdlib/source --target ~/lux/stdlib/target # Build -cd ~/lux/new-luxc/ && java -jar target/program.jar build --source ~/lux/stdlib/source --source ~/lux/stdlib/test --target ~/lux/stdlib/target --module tests +cd ~/lux/new-luxc/ && java -jar target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux -- cgit v1.2.3