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/*
/internal/photoprism/testdata/*
/frontend/node_modules/*
/node_modules
/assets/server/public/build/*
/assets/testdata
/assets/backups

1
.gitignore vendored
View file

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

View file

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