aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgretchen <gretchen@gnar.cool>2019-11-18 16:36:58 -0800
committergretchen <gretchen@gnar.cool>2019-11-18 16:37:22 -0800
commitf9b5a2cb020fb602a415d1ff2de39b7b2cc4b868 (patch)
treea94f4b7a8e522400ce7c741ff03255da608b2ddf
parent228baf459707bae2ad67029a71fbfad674d7324a (diff)
downloadnorns-etc-f9b5a2cb020fb602a415d1ff2de39b7b2cc4b868.tar.gz
norns-etc-f9b5a2cb020fb602a415d1ff2de39b7b2cc4b868.zip
Improve readme and Makefile
-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