aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--README.org10
2 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 0d52939..2af9d4d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,11 @@
CFLAGS=-Werror -Wall -ggdb -O3 $(shell pkg-config --cflags nanomsg)
LDFLAGS=$(shell pkg-config --libs nanomsg)
-all: norns_shell
+all: norns_shell norns_load norns_upload
-install:
+install: norns_shell norns_load norns_upload
install -D --mode=755 norns_shell /usr/local/bin/
install -D --mode=755 norns_upload /usr/local/bin/
install -D --mode=755 norns_load /usr/local/bin/
-
-
.PHONY: all install
diff --git a/README.org b/README.org
index 636640a..b7e273a 100644
--- a/README.org
+++ b/README.org
@@ -1,8 +1,12 @@
-* norns shell
+* norns etc
-Get a lua shell or supercollider shell on a norns from the command-line, similar to the shell in the maiden interface.
+Three scripts useful for local development on norns (i.e., outside of the ~maiden~ web interface):
-Requires nanomsg. Install with ~sudo make install~.
++ ~norns_shell~: Get a lua shell or supercollider shell on a norns from the command-line, similar to the shell in the maiden interface. This connects to the same websocket interface that ~maiden~ does.
++ ~norns_upload~: Upload a file to norns over http, just like how ~maiden~ does it.
++ ~norns_load~: Activate a norns script already on the device with ~norns.script.load(...)~ on the lua interface.
+
+~norns_shell~ requires nanomsg. Install everything with ~sudo make install~.
#+BEGIN_SRC sh
# get a lua shell