summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-02-18 00:13:06 +0100
committerLudovic Courtès <ludo@gnu.org>2014-02-18 00:13:24 +0100
commite7fc17b592a0d25c18fbc6774b1f8a6d2a9bbc69 (patch)
tree51a93229e15bef7b14c96b3684891861d7b77b57 /gnu
parent98e7fc9b02f00f3f2324b12dec1a6cd9beafbe01 (diff)
downloadguix-e7fc17b592a0d25c18fbc6774b1f8a6d2a9bbc69.tar.gz
guix build: Factorize common options.
* guix/scripts/build.scm (show-build-options-help,
  set-build-options-from-command-line): New procedures.
  (show-help): Remove description of --dry-run,
  --fallback, --no-substitutes, --max-silent-time, and --cores.  Call
  'show-build-options-help'.
  (%standard-build-options): New variable.
  (%options): Remove --dry-run, --fallback, --no-substitutes,
  --verbosity, --max-silent-time, and --cores.  Add
  %STANDARD-BUILD-OPTIONS.
  (guix-build): Use 'set-build-options-from-command-line' instead of
  'set-build-options'.
* guix/scripts/archive.scm (show-help): Remove description of --dry-run,
  --fallback, --no-substitutes, --max-silent-time, and --cores.  Call
  'show-build-options-help'.
  (%options): Remove --dry-run, --fallback, --no-substitutes,
  --verbosity, --max-silent-time, and --cores.  Add
  %STANDARD-BUILD-OPTIONS.
  (export-from-store): Call 'set-build-options-from-command-line'
  instead of 'set-build-options.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions