Skip to content

Commit 05f0d58

Browse files
committed
feat: Add make update
1 parent 127cfe7 commit 05f0d58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ DOCKERRUN=docker container run \
99
${CONTAINER}:${TAG}
1010
DOCSDEST?=../../../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

1414
docker:
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
3434
lint: 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
4040
npm: docker
4141
${DOCKERRUN} \
4242
$(filter-out $@,$(MAKECMDGOALS))

0 commit comments

Comments
 (0)