summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-05-21 19:49:59 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-05-21 19:53:13 -0400
commitcc59c11398cb9feff3eb1cb14bab664cc2d1ca2e (patch)
tree89d7be487ac5829275dfe41c1929e2fc3e407cf5 /README.org
parent6e1e00e7438acc477c5574935b3ecb9c140d0a22 (diff)
Add pre-inst-env script.
* configure.ac: Add pre-inst-env as config file. * pre-inst-env.in: New file. * 2d/config.scm.in (%pkgdatadir): Use GUILE_2D_PKGDATADIR environment variable, if defined. * README.org: Document pre-inst-env script. * .gitignore: Ignore pre-inst-env.
Diffstat (limited to 'README.org')
-rw-r--r--README.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.org b/README.org
index c1a4245..4502cbc 100644
--- a/README.org
+++ b/README.org
@@ -286,12 +286,12 @@
guile simple.scm
#+END_SRC
- To run an example using the modules in the source directory (useful
- when developing):
+ To run an example without installing guile-2d (useful when
+ developing):
#+BEGIN_SRC sh
cd examples
- guile -L .. simple.scm
+ ../pre-inst-env guile simple.scm
#+END_SRC
To quit an example:
@@ -300,7 +300,7 @@
** Using the Sandbox
If you want to quickly create a guile-2d environment and start
- experimenting, run the =sandbox= script. It will import many
+ experimenting, run =./pre-inst-env sandbox=. It will import many
useful modules, start a REPL server, open a window, and start the
game loop. Simply connect to the REPL server and start hacking!