]> git.cworth.org Git - lmno.games/blobdiff - README
Makefile: Add support to use babel to compile React code using JSX
[lmno.games] / README
diff --git a/README b/README
index 599bcdb94e1a0e670a66c853faa6da91ec6ce129..1afb559523710c3909064c81fed7ae140cc92007 100644 (file)
--- a/README
+++ b/README
@@ -7,10 +7,16 @@ verifying 3rd-party resources that are needed.
 The following Makefile targets will be useful while developing this
 code:
 
-  make deps: Download 3rd-party resources to be served by lmno.games
+  make: Download and build JavaScript resources in development mode
 
-  make dev: Configure development versions of "make deps" resources
+  make LMNO_BUILD=production: As above but in production mode
 
-  make prod: Configure production versions of "make deps" resources
+  make deploy: Deploy latest, committed, production-mode content to lmno.games
 
-  make deploy: Deploy latest, committed static content to lmno.games
+Dependencies
+------------
+Compiling the source requires the babel (version 6) CLI to be
+available as "babeljs" along with the "react" preset. This can be
+achieved on Debian with:
+
+       sudo apt install node-babel-cli node-babel-preset-react