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
|
default: help
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
SHELL = /usr/bin/bash
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
-include __make.d__/*.mk
|
-include __make.d__/*.mk
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
SHELL = /usr/bin/bash
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
localinit:
|
devinit:
|
||||||
if [[ ! -e config.py ]]; then
|
if [[ ! -e config.py ]]; then
|
||||||
cp config_example/config.py config.py
|
cp config_example/config.py config.py
|
||||||
chmod 600 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:
|
.ONESHELL:
|
||||||
SHELL = /usr/bin/bash
|
SHELL = /usr/bin/bash
|
||||||
|
MAKEFLAGS += --no-print-directory
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
run:
|
run:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user