diff options
| author | Robert Günzler <r@gnzler.io> | 2025-01-24 15:40:56 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-01-24 17:18:43 +0100 |
| commit | 791a64aa04e8e19b12b4cc3ac91c661f2d508777 (patch) | |
| tree | 7a6ab45fd081908f4e034285dcbd9fb707a31101 | |
| parent | edae93a07aeec4261d0c73893b3326bd9ddf0e0f (diff) | |
| download | site-791a64aa04e8e19b12b4cc3ac91c661f2d508777.tar.gz | |
make using the makefile a little more convenient
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rw-r--r-- | edit.mk | 3 | ||||
| -rw-r--r-- | makefile | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/edit.mk b/edit.mk index 4d1fbe1..23671f9 100644 --- a/edit.mk +++ b/edit.mk @@ -4,6 +4,9 @@ commit: edit: @ ${EDITOR} src/inc/$(shell pushd src/inc >/dev/null && git ls-files -c . | fzf -m --bind=ctrl-c:accept-or-print-query) + +change: + @ ${MAKE} edit @ ${MAKE} gen @ ${MAKE} commit diff --git a/makefile b/makefile index 38fba24..61f632a 100644 --- a/makefile +++ b/makefile @@ -40,7 +40,9 @@ serve: watch-and-serve: @ ${MAKE} -j2 watch serve -.PHONY: all clean serve watch watch-and-serve +was: watch-and-serve + +.PHONY: all clean serve watch watch-and-serve was include webdeploy.mk include edit.mk |