summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-05-05 08:21:09 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-05-05 08:21:09 -0400
commit451749de213c4cc9e2d097b90b3aaa882e288f4a (patch)
treeeb093bd1c580319244c846ae3fb037158def072e
parente79fd509c40d11f9a4b009a395b1632c106d6a22 (diff)
Add run-example script.
-rw-r--r--Makefile.am1
-rwxr-xr-xrun-example4
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 72e044f..6d435ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -98,6 +98,7 @@ EXTRA_DIST += \
pre-inst-env.in \
README \
guix.scm \
+ run-example \
examples/hello.scm \
examples/hello.bmp \
examples/controller.scm
diff --git a/run-example b/run-example
new file mode 100755
index 0000000..aba027a
--- /dev/null
+++ b/run-example
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd examples
+../pre-inst-env guile $1.scm