fix(just): install with absolute paths

This commit is contained in:
Michael Aaron Murphy 2024-03-29 14:29:07 +01:00
parent a2c498b7ac
commit a8020c5261
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -1,12 +1,12 @@
# Installation command # Installation command
[no-cd, private] [private]
install-cmd options src dest: install-cmd options src dest:
install {{options}} {{src}} {{dest}} install {{options}} {{ invocation_directory() }}/{{src}} {{ invocation_directory() }}/{{dest}}
[no-cd, private] [private]
install-bin src dest: (install-cmd '-Dm0755' src dest) install-bin src dest: (install-cmd '-Dm0755' src dest)
[no-cd, private] [private]
install-file src dest: (install-cmd '-Dm0644' src dest) install-file src dest: (install-cmd '-Dm0644' src dest)
# Check if required dependencies are installed on the system # Check if required dependencies are installed on the system
@ -45,4 +45,4 @@ dep-lib lib:
# Display a formatted error for the user. # Display a formatted error for the user.
[private] [private]
print-error msg key value: print-error msg key value:
@echo '\e[0;31mERROR {{msg}}, \e[1;31m{{key}}: \e[0;31m{{value}}\e[0m' @echo '\e[0;31mERROR {{msg}}, \e[1;31m{{key}}: \e[0;31m{{value}}\e[0m'