make devinit added instead of localinit
This commit is contained in:
parent
c66edf70ef
commit
bb13c5af85
3
Makefile
3
Makefile
@ -1,8 +1,9 @@
|
||||
# git helper Makefile: Version 1.8 (2025-08-05)
|
||||
# git helper Makefile: Version 1.9 (2025-08-05)
|
||||
default: help
|
||||
|
||||
.ONESHELL:
|
||||
SHELL = /usr/bin/bash
|
||||
MAKEFLAGS += --no-print-directory
|
||||
.SILENT:
|
||||
|
||||
-include __make.d__/*.mk
|
||||
|
@ -1,8 +1,9 @@
|
||||
.ONESHELL:
|
||||
SHELL = /usr/bin/bash
|
||||
MAKEFLAGS += --no-print-directory
|
||||
.SILENT:
|
||||
|
||||
localinit:
|
||||
devinit:
|
||||
if [[ ! -e config.py ]]; then
|
||||
cp config_example/config.py config.py
|
||||
chmod 600 config.py
|
||||
|
12
__make.d__/help.mk
Normal file
12
__make.d__/help.mk
Normal file
@ -0,0 +1,12 @@
|
||||
.ONESHELL:
|
||||
SHELL = /usr/bin/bash
|
||||
MAKEFLAGS += --no-print-directory
|
||||
.SILENT:
|
||||
|
||||
GIT_FLAG = ./.git
|
||||
VENV_FLAG = ./.venv_required
|
||||
VENV_FOLDER = ./venv
|
||||
|
||||
localhelp:
|
||||
echo "Possible local options are:"
|
||||
echo " - devinit - Initialise the application for development usage"
|
@ -1,5 +1,6 @@
|
||||
.ONESHELL:
|
||||
SHELL = /usr/bin/bash
|
||||
MAKEFLAGS += --no-print-directory
|
||||
.SILENT:
|
||||
|
||||
run:
|
||||
|
Loading…
x
Reference in New Issue
Block a user