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_interval = 0
|
||||
post_cmd = []
|
||||
pre_cmd = ["make prepare"]
|
||||
pre_cmd = ["make gen"]
|
||||
rerun = false
|
||||
rerun_delay = 500
|
||||
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}")
|
||||
|
||||
start: dev-dependencies
|
||||
@air
|
||||
@tailwindcss -i views/style.css -o public/style.css --watch &
|
||||
@templ generate -watch &
|
||||
air
|
||||
|
||||
dev-dependencies: build-dependencies
|
||||
@if ! command -v air > /dev/null; then
|
||||
|
|
Loading…
Reference in a new issue