Delete node_modules when running "make clean"

This commit is contained in:
Michael Mayer 2019-05-07 16:16:39 +02:00
parent 1497e15cee
commit 21feb49c3c
3 changed files with 5 additions and 0 deletions

View file

@ -3,6 +3,7 @@
/assets/database/* /assets/database/*
/internal/photoprism/testdata/* /internal/photoprism/testdata/*
/frontend/node_modules/* /frontend/node_modules/*
/node_modules
/assets/server/public/build/* /assets/server/public/build/*
/assets/testdata /assets/testdata
/assets/backups /assets/backups

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
/assets/photos/originals/* /assets/photos/originals/*
/assets/photos/import/* /assets/photos/import/*
/assets/photos/export/* /assets/photos/export/*
/node_modules
/frontend/node_modules/* /frontend/node_modules/*
/frontend/tests/result.html /frontend/tests/result.html
/assets/testdata /assets/testdata

View file

@ -44,8 +44,11 @@ test-coverage:
go tool cover -html=coverage.txt -o coverage.html go tool cover -html=coverage.txt -o coverage.html
clean: clean:
rm -f $(BINARY_NAME) rm -f $(BINARY_NAME)
rm -f *.log
rm -rf node_modules
rm -rf assets/testdata rm -rf assets/testdata
rm -rf assets/backups rm -rf assets/backups
rm -rf frontend/node_modules
download: download:
scripts/download-nasnet.sh scripts/download-nasnet.sh
docker-development: docker-development: