From f9b5a2cb020fb602a415d1ff2de39b7b2cc4b868 Mon Sep 17 00:00:00 2001 From: gretchen Date: Mon, 18 Nov 2019 16:36:58 -0800 Subject: Improve readme and Makefile --- Makefile | 6 ++---- README.org | 10 +++++++--- 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 -- cgit v1.2.1