forked from ebhomengo/niki
1
0
Fork 0

Chore(MakeFile): add .PHONY

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
This commit is contained in:
Reza Mobaraki 2024-08-22 18:32:36 +03:30
parent ee85bd604c
commit 16f37c0f64
No known key found for this signature in database
GPG Key ID: 922CBCF25B541A6F
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
// TODO: add commands for build and run in dev/produciton mode # TODO: add commands for build and run in dev/produciton mode
ROOT=$(realpath $(dir $(lastword $(MAKEFILE_LIST)))) ROOT=$(realpath $(dir $(lastword $(MAKEFILE_LIST))))
.PHONY: help confirm lint test format build run docker swagger watch migrate/status migrate/new migrate/up migrate/down
confirm: confirm:
@echo -n 'Are you sure? [y/N] ' && read ans && [ $${ans:-N} = y ] @echo -n 'Are you sure? [y/N] ' && read ans && [ $${ans:-N} = y ]