changeset 354: |
aeef48e62bc0 |
parent: |
254cca648492
|
child: |
49c3f3d11432 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Tue, 14 May 2024 16:44:11 -0400 |
permissions: |
-rw-r--r-- |
description: |
packy cli |
1 ;;; skelfile --- CC/core skelfile -*- mode: skel; -*- 3 :author "Richard Westhaver <ellis@rwest.io>" 8 :description "The Compiler Company Core" 9 :tags ("core" "lisp" "rust" "emacs" "c") 10 :imports ("lisp/skelfile" "rust/skelfile" "emacs/skelfile" "c/skelfile") 12 :docs ((:org "readme")) 14 :env (home (cc "clang") shell term) 16 ((all (x compile std prelude build)) 17 (x () #$if [ ! -f x ]; 23 #$find emacs -name '*.elc' -type f -delete$# 24 #$find lisp -name '*.fasl' -type f -delete$# 25 #$echo 'cargo clean:' && cd rust && cargo clean$#) 26 (rdb (x) #$./x build rdb$#) 27 (skel (x) #$./x build skel$#) 28 (organ (x) #$./x build organ$#) 29 (homer (x) #$./x build homer$#) 30 (packy (x) #$./x build packy$#) 31 (build (x) #$./x build$#) 32 (compile (x) #$./x compile$#) 33 (std (x) #$./x save std$#) 34 (prelude (x) #$./x save prelude$#) 35 (box () #$podman build . --build-arg IMAGE=box -t core$#) 36 ;; x does the same thing, having issues with passing the shell input 38 (install () #$d=/usr/local/bin 40 for f in $(find . -type f ! -name "*.*") 41 do echo "$(basename $f) -> $d" 42 install -C -m 755 $f $d 44 d=/usr/local/share/lisp 47 for f in $(find . -type f -name "*.core") 48 do echo "$(basename $f) -> $d" 49 install -C -m 755 $f $d 51 (deploy (std prelude) #$mv -v .stash/{prelude.core,std.core} $PACKY_DIR$#))