guix-play/tests
Mark H Weaver 6447738c01 guix package: allow multiple arguments after -i, -r, and -u.
* guix/scripts/package.scm (%options): Adapt option processors to accept and
  return a second seed value: 'arg-handler', which handles bare arguments (if
  not false).  The install, remove, and upgrade option processors return an
  arg-handler that repeat the same operation.  All other option processors
  return #f as the arg-handler.  Make the arguments to install and remove
  optional.  The upgrade option processor deletes (upgrade . #f) from the
  alist before adding a new entry.
  (guix-package): Procedures passed to 'args-fold*' accept the new seed value
  'arg-handler'.  The 'operand-proc' uses 'arg-handler' (if not false).

* doc/guix.texi (Invoking guix package): Update docs.

* tests/guix-package.sh: Add test.
2013-12-14 16:25:02 -05:00
..
base32.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
build-utils.scm Augment `.dir-locals.el'. 2013-02-01 13:16:45 +01:00
builders.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
derivations.scm derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
guix-build.sh derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
guix-daemon.sh Replace individual scripts with master 'guix' script. 2013-02-16 22:17:37 -05:00
guix-download.sh Replace individual scripts with master 'guix' script. 2013-02-16 22:17:37 -05:00
guix-gc.sh guix gc: Add --references' and --referrers'. 2013-02-27 23:16:00 +01:00
guix-hash.sh tests: Add `guix hash' test. 2013-05-11 15:09:56 +02:00
guix-package.sh guix package: allow multiple arguments after -i, -r, and -u. 2013-12-14 16:25:02 -05:00
guix-register.sh guix-register: Expect closures to refer to the original store. 2013-09-23 23:56:35 +02:00
hash.scm hash: Add `open-sha256-port'. 2013-07-02 22:38:03 +02:00
monads.scm monads: Fix 'anym'. 2013-12-10 00:24:01 +01:00
nar.scm tests: Fix out-of-source builds. 2013-05-11 15:43:33 +02:00
packages.scm build: Skip one 'package-source-derivation' test when networking is missing. 2013-12-11 13:55:49 +01:00
profiles.scm guix package: Allow removal of a specific package output. 2013-11-01 23:21:01 +01:00
records.scm records: define-record-type*: Field bindings are bound with 'let*'. 2013-10-15 23:31:22 +02:00
snix.scm Augment `.dir-locals.el'. 2013-02-01 13:16:45 +01:00
store.scm store: Add tests for 'store-path-package-name'. 2013-12-11 00:18:14 +01:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
ui.scm ui: Factorize package specification parsing. 2013-11-01 23:21:00 +01:00
union.scm derivations: Use more keyword parameters for 'build-expression->derivation'. 2013-12-04 16:07:53 +01:00
utils.scm utils: Add 'string-replace-substring'. 2013-11-13 00:29:05 +01:00