summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rwxr-xr-xrun-game2
-rwxr-xr-xscripts/the-test-subject3
3 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 6e39d4a..724c075 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,9 @@ SUFFIXES = .scm .go
moddir=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
+bin_SCRIPTS = \
+ scripts/the-test-subject
+
SOURCES = \
test-subject/assets.scm \
test-subject/text-box.scm \
diff --git a/run-game b/run-game
index 1ea6c5c..ad69ef9 100755
--- a/run-game
+++ b/run-game
@@ -1,3 +1,3 @@
#!/bin/sh
-./pre-inst-env guile -c '(use-modules (test-subject game)) (launch-game)'
+./pre-inst-env scripts/the-test-subject
diff --git a/scripts/the-test-subject b/scripts/the-test-subject
new file mode 100755
index 0000000..df8e56d
--- /dev/null
+++ b/scripts/the-test-subject
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec guile -c '(use-modules (test-subject game)) (launch-game)'