summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2021-05-02 06:41:20 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2021-05-02 06:41:20 -0400
commit820ab7a5cd3337f4cc3585c4acbec2f66c34a897 (patch)
treec07a44667c187ec139ee33f71588d786e449cb0a
parentddb16c01b838a94f8e39ccd23bb995ffcd1fce29 (diff)
Add executable.
-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)'