changeset 60: |
325908595770 |
parent 59: |
25af64bdea59 |
child 61: |
f6fc47a1e4e3 |
author: |
ellis <ellis@rwest.io> |
date: |
Wed, 03 Jan 2024 18:59:49 -0500 |
files: |
makefile scripts/bundle-dir.sh scripts/deploy.sh |
description: |
dont need deploy script |
1.1--- a/makefile Wed Jan 03 18:41:20 2024 -0500
1.2+++ b/makefile Wed Jan 03 18:59:49 2024 -0500
1.3@@ -22,14 +22,14 @@
1.4 # requires emacs-build-minimal
1.5 worker:rocksdb-install sbcl-install ts-langs-install quicklisp-install
1.6 # artifacts can deploy to dist/TARGET - need target triple first
1.7-deploy:$(D) $(DESTINATION);cd $< && ../scripts/deploy.sh lisp rust bundle vc
1.8 # init:sbcl rust emacs rocksdb comp virt;
1.9 # dist/linux dist/rust dist/bundle
1.10 all:dist/cdn dist/comp dist/lisp dist/rust dist/sbcl dist/rocksdb dist/emacs
1.11 clean:;rm -rf $(B) $(D)
1.12 $(B):;mkdir -pv $@/src
1.13 $(D):;mkdir -pv $@
1.14-
1.15+$(DESTINATION):$(D);cp -rf $</* $@
1.16+deploy:$(DESTINATION)
1.17 ### Linux
1.18 LINUX_TARGET:=linux-$(LINUX_VERSION)
1.19 linux:$(LINUX_TARGET) linux-config;
2.1--- a/scripts/bundle-dir.sh Wed Jan 03 18:41:20 2024 -0500
2.2+++ b/scripts/bundle-dir.sh Wed Jan 03 18:59:49 2024 -0500
2.3@@ -2,7 +2,7 @@
2.4 # bundle a tar.zst archive of Mercurial repositories.
2.5 # must be absolute
2.6 #WD=/mnt/y/data/packy
2.7-WD="${2:-$HOME/dev/infra/dist}"
2.8+WD="${2:-$HOME/dev/comp/infra/dist}"
2.9 OUT=$WD/bundle/src
2.10 SRC_PATH=$HOME/dev/comp
2.11 BUNDLE_NAME="${1:-comp}"
3.1--- a/scripts/deploy.sh Wed Jan 03 18:41:20 2024 -0500
3.2+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3@@ -1,11 +0,0 @@
3.4-#!/bin/sh
3.5-if [ -n "${DESTINATION}" ]; then DESTINATION="/mnt/y/data/packy"; fi
3.6-shift
3.7-for var in "$@"
3.8-do
3.9- if [ -e "$var" ]; then
3.10- cp -rf "$var" "$DESTINATION"
3.11- else
3.12- echo "input is missing: $var"
3.13- fi
3.14-done