Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #265 from luvit/add-build-info-to-readme

README: add build instructions
  • Loading branch information...
commit ff066b8fdfdecb0cfceadad94c7b4ca40ec7a3fb 2 parents ffb40c5 + 42923ed
@creationix creationix authored
Showing with 26 additions and 0 deletions.
  1. +26 −0 README.markdown
View
26 README.markdown
@@ -31,6 +31,32 @@ end):listen(8080)
print("Server listening at http://localhost:8080/")
```
+### Building from git
+
+Grab a copy of the source code:
+
+`git clone https://github.com/luvit/luvit.git --recursive`
+
+To use the gyp build system run:
+
+```
+cd luvit
+./configure
+make -C out
+tools/build.py test
+./out/Debug/luvit
+```
+
+To use the Makefile build system (for embedded systems without python)
+run:
+
+```
+cd luvit
+make
+make test
+./build/luvit
+```
+
## Debugging
Luvit contains an extremely useful debug API. Lua contains a stack which is used
Please sign in to comment.
Something went wrong with that request. Please try again.