Files
pedini.dev/makefile
Bryan Joshua Pedini b7286eeeb6 fix: use explicit bash path in makefile scripts
Specify full path to bash interpreter for version.sh and deploy.sh scripts in makefile to ensure consistent execution across different environments and avoid potential PATH issues.
2026-02-01 18:17:37 +01:00

17 lines
275 B
Makefile

#!make
include .vars
default: build
prep:
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
build: prep
/usr/bin/env bash version.sh
deploy:
/usr/bin/env bash deploy.sh
run: prep
hugo server