Simon Detheridge 6 лет назад
Родитель
Сommit
7870c8185e
2 измененных файлов с 12 добавлено и 1 удалено
  1. 1 0
      services/filestore/.prettierignore
  2. 11 1
      services/filestore/Makefile

+ 1 - 0
services/filestore/.prettierignore

@@ -0,0 +1 @@
+node_modules

+ 11 - 1
services/filestore/Makefile

@@ -21,7 +21,17 @@ clean:
 	rm -rf test/unit/js
 	rm -rf test/unit/js
 	rm -rf test/acceptance/js
 	rm -rf test/acceptance/js
 
 
-test: test_unit test_acceptance
+format:
+	$(DOCKER_COMPOSE) run --rm test_unit npm run format
+
+format_fix:
+	$(DOCKER_COMPOSE) run --rm test_unit npm run format:fix
+
+lint:
+	$(DOCKER_COMPOSE) run --rm test_unit npm run lint
+
+
+test: format lint test_unit test_acceptance
 
 
 test_unit:
 test_unit:
 	@[ ! -d test/unit ] && echo "filestore has no unit tests" || $(DOCKER_COMPOSE) run --rm test_unit
 	@[ ! -d test/unit ] && echo "filestore has no unit tests" || $(DOCKER_COMPOSE) run --rm test_unit