justfile: fix .meta install loop and remove dead targets
- Fix for loop: just doesn't need $$ escaping (that produces PID) - Remove empty install-scripts and install-contrib targets - Fold script installs into install-data
This commit is contained in:
parent
63f602fb07
commit
ba8db09143
19
justfile
19
justfile
|
|
@ -55,13 +55,13 @@ kde-kf5:
|
|||
|
||||
# === Install targets ===
|
||||
|
||||
install: test install-data install-scripts install-contrib install-el
|
||||
install: test install-data install-el
|
||||
just -f kde/justfile install-kde
|
||||
install -m644 data/prompts/session-9p.md {{cfg}}/prompts/session.md
|
||||
@echo === Install complete ===
|
||||
@echo 'Restart Plasma to pick up KDE plugins.'
|
||||
|
||||
install-kf5: test install-data install-scripts install-contrib install-el
|
||||
install-kf5: test install-data install-el
|
||||
just -f kde/justfile install-kde-kf5
|
||||
install -m644 data/prompts/session-9p.md {{cfg}}/prompts/session.md
|
||||
@echo '=== Install complete (KF5) ==='
|
||||
|
|
@ -152,7 +152,7 @@ install-data:
|
|||
install -m755 data/tools/subagent_generate {{cfg}}/tools/subagent_generate
|
||||
install -m755 data/tools/subagent_spawn {{cfg}}/tools/subagent_spawn
|
||||
# Tool metadata (.meta sidecar files)
|
||||
for f in data/tools/*.meta; do install -m644 "$$f" {{cfg}}/tools/"$$(basename $$f)"; done
|
||||
for f in data/tools/*.meta; do install -m644 "$f" {{cfg}}/tools/"$(basename $f)"; done
|
||||
# Tools (library modules)
|
||||
install -m644 data/tools/_lib/__init__.py {{cfg}}/tools/_lib/__init__.py
|
||||
install -m644 data/tools/_lib/args.py {{cfg}}/tools/_lib/args.py
|
||||
|
|
@ -167,9 +167,10 @@ install-data:
|
|||
install -m644 data/tools/_lib/lsp/adapters/intelephense.py {{cfg}}/tools/_lib/lsp/adapters/intelephense.py
|
||||
# Help
|
||||
install -m644 doc/help.md {{cfg}}/help.md
|
||||
|
||||
install-scripts:
|
||||
@echo === Installing scripts ===
|
||||
# Scripts (ollie-remount, ollie-watchdog)
|
||||
mkdir -p {{bin}}
|
||||
install -m755 data/scripts/ollie-remount {{bin}}/ollie-remount
|
||||
install -m755 data/scripts/ollie-watchdog {{bin}}/ollie-watchdog
|
||||
|
||||
install-autostart:
|
||||
@echo === Installing autostart files ===
|
||||
|
|
@ -181,12 +182,6 @@ install-systemd:
|
|||
mkdir -p ~/.config/systemd/user
|
||||
install -m644 data/services/systemd/ollie.service ~/.config/systemd/user/
|
||||
|
||||
install-contrib:
|
||||
@echo === Installing contrib scripts ===
|
||||
mkdir -p {{bin}}
|
||||
install -m755 data/scripts/ollie-remount {{bin}}/ollie-remount
|
||||
install -m755 data/scripts/ollie-watchdog {{bin}}/ollie-watchdog
|
||||
|
||||
# === Uninstall ===
|
||||
|
||||
uninstall:
|
||||
|
|
|
|||
Loading…
Reference in New Issue