mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
feat: Conditionally install process-compose only if binary not found
This commit is contained in:
parent
1828d2e710
commit
b57bea6f7b
2
Makefile
2
Makefile
@ -128,8 +128,10 @@ distclean: clean
|
||||
rm -rf vendor/
|
||||
|
||||
get-process-compose:
|
||||
ifeq (,$(shell which process-compose))
|
||||
@echo "Installing process-compose"
|
||||
sh -c "$(curl --location https://raw.githubusercontent.com/F1bonacc1/process-compose/main/scripts/get-pc.sh)" -- -d -b ~/.local/bin
|
||||
endif
|
||||
|
||||
########################################
|
||||
### Testing
|
||||
|
Loading…
x
Reference in New Issue
Block a user