aboutsummaryrefslogtreecommitdiff
path: root/lux-lein/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'lux-lein/README.md')
-rw-r--r--lux-lein/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/lux-lein/README.md b/lux-lein/README.md
new file mode 100644
index 000000000..6d024a58f
--- /dev/null
+++ b/lux-lein/README.md
@@ -0,0 +1,27 @@
+# How to use it
+
+You'll need a project.clj that imports the lein-luxc plugin.
+
+Here's an example:
+
+```
+(defproject com.github.luxlang/lux-stdlib "0.4.0"
+ :description "Standard library for the Lux programming language."
+ :url "https://github.com/LuxLang/stdlib"
+ :license {:name "Mozilla Public License (Version 2.0)"
+ :url "https://www.mozilla.org/en-US/MPL/2.0/"}
+ :plugins [[com.github.luxlang/lein-luxc "0.3.0"]]
+ :source-paths ["source"]
+ )
+
+```
+
+Now, all you need to do is run the plugin like this:
+
+ lein luxc compile
+
+And, if you want to run unit-tests, you can do:
+
+ lein luxc test
+
+Those unit tests must be in the `test` directory on your project root.