makefile: simplify the start target
This commit is contained in:
parent
45540a1207
commit
82d5ba23fc
|
@ -26,7 +26,7 @@ log = "build-errors.log"
|
||||||
poll = false
|
poll = false
|
||||||
poll_interval = 0
|
poll_interval = 0
|
||||||
post_cmd = []
|
post_cmd = []
|
||||||
pre_cmd = ["make prepare"]
|
pre_cmd = ["make gen"]
|
||||||
rerun = false
|
rerun = false
|
||||||
rerun_delay = 500
|
rerun_delay = 500
|
||||||
send_interrupt = true
|
send_interrupt = true
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -12,7 +12,9 @@ export REDMAGE_WEB_DEPENDENCIES_DAYJS_VERSION=$(shell echo "$${REDMAGE_WEB_DEPEN
|
||||||
export REDMAGE_WEB_DEPENDENCIES_THEMECHANGE_VERSION=$(shell echo "$${REDMAGE_WEB_DEPENDENCIES_THEMECHANGE_VERSION:-2.0.2}")
|
export REDMAGE_WEB_DEPENDENCIES_THEMECHANGE_VERSION=$(shell echo "$${REDMAGE_WEB_DEPENDENCIES_THEMECHANGE_VERSION:-2.0.2}")
|
||||||
|
|
||||||
start: dev-dependencies
|
start: dev-dependencies
|
||||||
@air
|
@tailwindcss -i views/style.css -o public/style.css --watch &
|
||||||
|
@templ generate -watch &
|
||||||
|
air
|
||||||
|
|
||||||
dev-dependencies: build-dependencies
|
dev-dependencies: build-dependencies
|
||||||
@if ! command -v air > /dev/null; then
|
@if ! command -v air > /dev/null; then
|
||||||
|
|
Loading…
Reference in a new issue