summaryrefslogtreecommitdiff
path: root/com/simatime/bild.scm
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-11-01 21:36:16 -0700
committerBen Sima <ben@bsima.me>2019-11-01 21:43:54 -0700
commit3020451c7f455eed9417e838e0ae2f0b26d4dbfc (patch)
treed34b403c5d49552e65e5ddffe25282afd4f423d2 /com/simatime/bild.scm
parentd99f757fa37080eabc7c5cd258251c1bc12165cb (diff)
cleanup some of this scheme code
Diffstat (limited to 'com/simatime/bild.scm')
-rwxr-xr-xcom/simatime/bild.scm8
1 files changed, 3 insertions, 5 deletions
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?)