Get ready for decaffinate

This commit is contained in:
Christopher Hoskin
2019-01-04 11:05:35 +00:00
parent f6dc55c16b
commit 7280b18fe5
6 changed files with 14 additions and 19 deletions

View File

@@ -17,12 +17,10 @@ DOCKER_COMPOSE := BUILD_NUMBER=$(BUILD_NUMBER) \
clean:
docker rmi ci/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
docker rmi gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
rm -f app.js
rm -rf app/js
rm -rf test/unit/js
rm -rf test/acceptance/js
lint:
$(DOCKER_COMPOSE) run --rm test_unit npm run lint
test: test_unit test_acceptance
test: lint test_unit test_acceptance
test_unit:
@[ ! -d test/unit ] && echo "chat has no unit tests" || $(DOCKER_COMPOSE) run --rm test_unit