# Count lines of code ``` cd ~/lux/ && find . -name '*.lux' | xargs wc -l ``` --- # Clean everything ``` cd ~/lux/lux-bootstrapper/ && lein clean && \ cd ~/lux/stdlib/ && lein clean && \ cd ~/lux/lux-jvm/ && lein clean && \ cd ~/lux/lux-js/ && lein clean && \ cd ~/lux/lux-python/ && lein clean && \ cd ~/lux/lux-lua/ && lein clean && \ cd ~/lux/lux-ruby/ && lein clean && \ cd ~/lux/lux-php/ && lein clean && \ cd ~/lux/lux-cl/ && lein clean && \ cd ~/lux/lux-scheme/ && lein clean && \ cd ~/lux/lux-r/ && lein clean ``` --- # Read generated bytecode ``` cd ~/lux/jbe/bin/ && java ee.ioc.cs.jbe.browser.BrowserApplication ``` --- # Old/bootstrapping compiler ## Build & install ``` cd ~/lux/lux-bootstrapper/ && lein clean && lein install ``` ## Run JBE ``` cd ~/lux/jbe/bin/ && java ee.ioc.cs.jbe.browser.BrowserApplication ``` --- # Standard Library ## Test ``` cd ~/lux/stdlib/ && lein clean && lein with-profile bibliotheca lux auto test cd ~/lux/stdlib/ && lein with-profile bibliotheca lux auto test ``` ## Deploy ``` cd ~/lux/stdlib/ && lein install cd ~/lux/stdlib/ && mvn install:install-file -Dfile=target/library.tar -DgroupId=com.github.luxlang -DartifactId=stdlib -Dversion=0.6.0-SNAPSHOT -Dpackaging=tar cd ~/lux/stdlib/ && mvn deploy:deploy-file \ -Durl=https://:@oss.sonatype.org/content/repositories/snapshots/ \ -Dfile=target/library.tar \ -DgroupId=com.github.luxlang \ -DartifactId=stdlib \ -Dversion=0.6.0-SNAPSHOT \ -Dpackaging=tar ``` ## Generate documentation ``` cd ~/lux/stdlib/ && lein clean && lein with-profile scriptum lux auto build ``` --- # Aedifex: Build system ## Build ``` cd ~/lux/stdlib/ && lein clean && lein with-profile aedifex lux auto build ``` ## Test ``` cd ~/lux/stdlib/ && lein clean && lein with-profile aedifex lux auto test ``` --- # Leiningen plugin ## Install ``` cd ~/lux/lux-lein/ \ && lein install ```