mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Support make clean install
usage
This commit is contained in:
parent
50b3045548
commit
bb74f8318a
1 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,7 @@ add_dev: docker-shared.yml
|
|||
install: docker-shared.yml
|
||||
$(NPM) install
|
||||
|
||||
clean: docker-shared.yml
|
||||
clean:
|
||||
rm -f app.js
|
||||
rm -rf app/js
|
||||
rm -rf test/unit/js
|
||||
|
@ -32,8 +32,9 @@ clean: docker-shared.yml
|
|||
done
|
||||
# Deletes node_modules volume
|
||||
docker-compose down --volumes
|
||||
# Delete after docker-compose command
|
||||
rm -f docker-shared.yml
|
||||
# Regenerate docker-shared.yml - not stictly a 'clean',
|
||||
# but lets `make clean install` work nicely
|
||||
bin/generate_volumes_file
|
||||
|
||||
# Need regenerating if you change the web modules you have installed
|
||||
docker-shared.yml:
|
||||
|
|
Loading…
Reference in a new issue