From cc59c11398cb9feff3eb1cb14bab664cc2d1ca2e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 21 May 2014 19:49:59 -0400 Subject: 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. --- README.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.org') 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! -- cgit v1.2.3