From 3020451c7f455eed9417e838e0ae2f0b26d4dbfc Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 1 Nov 2019 21:36:16 -0700 Subject: cleanup some of this scheme code --- com/simatime/bild.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'com/simatime/bild.scm') diff --git a/com/simatime/bild.scm b/com/simatime/bild.scm index 44f6c74..d924b29 100755 --- a/com/simatime/bild.scm +++ b/com/simatime/bild.scm @@ -1,6 +1,4 @@ -#!/usr/bin/env bash -exec guile -e "(@ (com simatime bild) main)" -s "$0" "$@" -!# +;; ;; bild - a simple build tool ;; ;;; Notice: @@ -140,8 +138,8 @@ exec guile -e "(@ (com simatime bild) main)" -s "$0" "$@" (target (cadr args)) (path (ns->path target))) (display (fmt ":: bild ~a...\r" target)) - (sh/exec (fmt "nix build -f ~a/default.nix -o ~a/_bild/~a ~a" - root root path target)) + (sh/exec (fmt "nix build -f ~a/default.nix ~a" + root target)) (display (fmt ":: bilt ~a" target)))) (define ns? symbol?) -- cgit v1.2.3