File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ DOCKERRUN=docker container run \
99 ${CONTAINER}:${TAG}
1010DOCSDEST? =../../../sites/nystudio107/web/docs/transcoder
1111
12- .PHONY : docker build dev fix install lint update npm
12+ .PHONY : docker build dev fix install lint clean npm
1313
1414docker :
1515 docker build \
1616 . \
1717 -t ${CONTAINER} :${TAG} \
1818 --build-arg TAG=${TAG} \
1919 --no-cache
20- build : docker install update
20+ build : clean docker install
2121 ${DOCKERRUN} \
2222 run docs:build
2323 rm -rf ${DOCSDEST}
@@ -34,9 +34,9 @@ install: docker
3434lint : docker install
3535 ${DOCKERRUN} \
3636 run docs:lint
37- update : docker
38- ${DOCKERRUN} \
39- update
37+ clean : docker
38+ rm -rf node_modules/
39+ rm -f package-lock.json
4040npm : docker
4141 ${DOCKERRUN} \
4242 $(filter-out $@ ,$(MAKECMDGOALS ) )
You can’t perform that action at this time.
0 commit comments