aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands24
1 files changed, 14 insertions, 10 deletions
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