Skip to content

Commit

Permalink
ADD clean target
Browse files Browse the repository at this point in the history
  • Loading branch information
sproutmaster committed May 17, 2024
1 parent 84e61d8 commit 6399580
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ mkdebug:
mkrestart:
./k8s/debug/restart.sh

.PHONY: clean # Remove python and yarn modules
clean:
make -C web clean
make -C api clean

apirun:
make -C api run

Expand Down
4 changes: 4 additions & 0 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ requirements: venv
pip-compile --quiet --upgrade requirements/common.in
pip-compile --quiet --upgrade requirements/dev.in

.PHONY: clean # remove venv
clean:
rm -rf venv

debug:
make -C .. debug
yeetdb:
Expand Down
11 changes: 10 additions & 1 deletion web/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
help:
@echo ''

node_modules:
yarn

.PHONY: run
run: node_modules
yarn run start
yarn run start

,PHONY: clean
clean:
rm -rf node_modules yarn.lock

0 comments on commit 6399580

Please sign in to comment.