mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 01:50:44 -06:00
fix: add newline to print statements in init
This commit is contained in:
parent
6f57d43ddc
commit
9ee6d34ecf
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
LATEST_TASKMK_VERSION=v23.1.1
|
LATEST_TASKMK_VERSION="v23.1.1"
|
||||||
VERSION=${TASKMK_VERSION:-$LATEST_TASKMK_VERSION}
|
VERSION=${TASKMK_VERSION:-$LATEST_TASKMK_VERSION}
|
||||||
printf "Initializing Task.mk (%s) for repo\n" "$VERSION"
|
printf "Initializing Task.mk (%s) for repo\n" "$VERSION"
|
||||||
if [ -f "./.task.mk" ]; then
|
if [ -f "./.task.mk" ]; then
|
||||||
|
@ -11,7 +11,7 @@ if [ -f "./.task.mk" ]; then
|
||||||
fi
|
fi
|
||||||
curl -fsSL "https://raw.githubusercontent.com/daylinmorgan/task.mk/$VERSION/task.mk" -o .task.mk
|
curl -fsSL "https://raw.githubusercontent.com/daylinmorgan/task.mk/$VERSION/task.mk" -o .task.mk
|
||||||
echo .task.mk >>.gitignore
|
echo .task.mk >>.gitignore
|
||||||
echo '-include .task.cfg.mk .task.mk' >>Makefile
|
printf '\n-include .task.cfg.mk .task.mk\n' >>Makefile
|
||||||
printf '$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/%s/task.mk -o .task.mk))' \
|
printf '$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/%s/task.mk -o .task.mk))' \
|
||||||
"$VERSION" \
|
"$VERSION" \
|
||||||
>>Makefile
|
>>Makefile
|
||||||
|
|
Loading…
Reference in a new issue