Fix Makefile and CI
Build Clash / build (push) Failing after 32s

This commit is contained in:
2026-08-17 17:08:24 -07:00
parent 5557f0b604
commit 58d539a822
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
archive="${PWD}/archive.tar.gz"
cd "${{ gitea.workspace }}/clash"
mkdir usr/
make PREFIX="usr/" deploy-install
make PREFIX="usr/" REAL_PREFIX="/usr/" deploy-install
tar -caf "${archive}" usr/
- name: Upload Artifacts
uses: actions/upload-artifact@v3
+3 -2
View File
@@ -1,6 +1,7 @@
LISP=sbcl
PREFIX=~/.local
PREFIX=${HOME}/.local
REAL_PREFIX=$(PREFIX)
override SRCS=clash.asd format.lisp parse-date.lisp clash.lisp
override LOAD_CLASH=--eval "(ql:quickload '(:cl-ppcre :clingon :local-time :uiop :trivial-features :osicat))" \
@@ -43,7 +44,7 @@ $(DEPLOY_OUTPUT): $(SRCS)
deploy-install: deploy-build clash.1
mkdir -p "$(PREFIX)/lib/clash/"
cp $(DEPLOY_OUTPUT) "$(PREFIX)/lib/clash/"
ln -sf "/$(PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash"
ln -sf "$(REAL_PREFIX)/lib/clash/clash" "$(PREFIX)/bin/clash"
mkdir -p "$(PREFIX)/share/man/man1/"
cp clash.1 "$(PREFIX)/share/man/man1/"