www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 2354354f5e1eaca889efd0cc77d831e2a6fcadb3
parent 8fb02985c36a2c001377e996b886cce0e3f0c7a7
Author: Matthew Flatt <mflatt@racket-lang.org>
Date:   Thu, 19 Jun 2014 05:26:59 +0100

distro-build: allow any string for `#:vc`

original commit: 54c9057e1d69888ce977ff34965bd02fedfbab7a

Diffstat:
Mpkgs/distro-build-pkgs/distro-build-client/doc.txt | 5+++--
Mpkgs/distro-build-pkgs/distro-build-server/config.rkt | 2+-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pkgs/distro-build-pkgs/distro-build-client/doc.txt b/pkgs/distro-build-pkgs/distro-build-client/doc.txt @@ -215,8 +215,9 @@ Site-configuration keywords (where <string*> means no spaces, etc.): #:bits <integer> --- 32 or 64, affects Visual Studio mode - #:vc <string*> --- "x86" or "x64" to select the Visual Studio build - mode; default depends on `#:bits' + #:vc <string*> --- provided to "vcvarsall/bat" to select the Visual + Studio build mode; the default is "x86" or "x64", depending on + `#:bits' #:sign-identity <string> --- provides an identity to be passed to `codesign` for code signing on Mac OS X (for all executables in a diff --git a/pkgs/distro-build-pkgs/distro-build-server/config.rkt b/pkgs/distro-build-pkgs/distro-build-server/config.rkt @@ -134,7 +134,7 @@ [(#:platform) (memq val '(unix macosx windows windows/bash))] [(#:configure) (and (list? val) (andmap string? val))] [(#:bits) (or (equal? val 32) (equal? val 64))] - [(#:vc) (or (equal? val "x86") (equal? val "x64"))] + [(#:vc) (string? val)] [(#:sign-identity) (string? val)] [(#:timeout) (real? val)] [(#:j) (exact-positive-integer? val)]