From 82d5ba23fc88dd722e9e2b0e6b01229ab4824aa5 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 2 May 2024 14:42:22 +0700 Subject: [PATCH] makefile: simplify the start target --- .air.toml | 2 +- Makefile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.air.toml b/.air.toml index a771eff..fe69a81 100644 --- a/.air.toml +++ b/.air.toml @@ -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 diff --git a/Makefile b/Makefile index 5c65282..66ed23d 100644 --- a/Makefile +++ b/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