summaryrefslogtreecommitdiff
path: root/module/scripts/compile.scm
AgeCommit message (Collapse)AuthorFilesLines
2011-11-22Add a `--target' option to `guild compile'.Ludovic Courtès1-7/+17
* module/scripts/compile.scm (%options)["--target"]: New option. (show-version): Update copyright year. (compile): Use `with-target' to install the target. * doc/ref/api-evaluation.texi (Compilation): Mention `--target' option.
2011-07-23more work on "guild list"Andy Wingo1-0/+2
* module/scripts/: Add %summary entries, and in many cases, %include-in-guild-list entries to inhibit a script from appearing in "guild list". Update list.scm to respect this new variable.
2011-02-13Add `*current-warning-prefix*'.Ludovic Courtès1-5/+6
* module/system/base/message.scm (*current-warning-prefix*): New variable. (%warning-types): Honor `*current-warning-prefix*'. * module/scripts/compile.scm (compile): Use an empty `*current-warning-prefix*'. * module/system/repl/common.scm (repl-compile): Likewise. * test-suite/tests/tree-il.test (call-with-warnings): Likewise.
2011-02-13autocompile -> auto-compileAndy Wingo1-3/+3
* NEWS: * check-guile.in: * doc/guile.1: * doc/ref/scheme-scripts.texi: * libguile/init.c: * libguile/load.c: * libguile/load.h: * libguile/script.c: * module/Makefile.am: * module/ice-9/boot-9.scm: * module/scripts/compile.scm: * module/system/base/compile.scm: * test-suite/Makefile.am: * test-suite/tests/popen.test: Change "autocompile" to "auto-compile" or "auto_compile", as appropriate, in variable names, function names, command line arguments, and the documentation.
2010-10-13Placate `-Wformat'.Ludovic Courtès1-2/+1
* module/scripts/compile.scm (fail): Use a fancy format string instead of a non-literal one.
2010-01-11Provide Guile-friendly `coding:' meta-data.Ludovic Courtès1-6/+2
* module/ice-9/i18n.scm, module/rnrs/bytevector.scm, module/rnrs/io/ports.scm, module/scripts/compile.scm, module/srfi/srfi-35.scm, module/srfi/srfi-88.scm: Write `coding:' comment at the top.
2009-08-15Add proper `--help' and `--version' for `guile-tools compile'.Ludovic Courtès1-2/+14
* configure.ac: Produce `meta/guile-tools'. * meta/Makefile.am (EXTRA_DIST): Add `guile-tools.in'. (bin_SCRIPTS): Remove `guile-tools'. * meta/uninstalled-env.in (PATH): Add "${top_builddir}/meta". * module/scripts/compile.scm (%options): Add `--version'. (parse-args): Show the offending option name upon error. (show-version): New. (compile): Use `%guile-bug-report-address'.
2009-07-31Add `(system base message)', a simple warning framework.Ludovic Courtès1-2/+32
* module/Makefile.am (SOURCES): Add `system/base/message.scm'. * module/scripts/compile.scm (%options): Add `--warn'. (parse-args): Update default value for `warnings'. (show-warning-help): New procedure. (compile)[compile-opts]: Add `#:warnings'. Update help message. * module/system/base/compile.scm (compile): Sanity-check the requested warnings. * module/system/base/message.scm: New file.
2009-06-17Complete changing license to LGPLv3+Neil Jerram1-7/+7
(Still guile-readline to do, but that will all be GPLv3+.)
2009-06-05disable autocompilation when running guile-tools compileAndy Wingo1-0/+3
* module/scripts/compile.scm (compile): Disable autocompilation when running guile-tools compile.
2009-04-20scripts take rest argsAndy Wingo1-2/+2
* meta/guile-tools: Instead of fixing scripts I should have been fixing the script runner. * module/scripts/compile.scm: * module/scripts/snarf-guile-m4-docs.scm: Fix to take rest args.
2009-04-17guile-tools is a scheme script that loads scheme modulesAndy Wingo1-0/+138
* meta/guile-tools: Changed to be a scheme script. Instead of looking for executables in a "scripts dir", we just look for modules in (scripts), and load the modules directly. * module/Makefile.am: * module/scripts/: Move the scripts into module/ so they can be compiled. Rename scripts from `foo' to `foo.scm'. * libguile/Makefile.am: Invoke the snarf->texi code via guile-tools. * configure.in: * .gitignore: Update for changes.