diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9aa51a1..d78c87e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,18 +4,6 @@ default_language_version: # force all unspecified python hooks to run python3 python: python3 repos: - - repo: https://github.com/gherynos/pre-commit-java - rev: v0.2.0 # Use the ref you want to point at - hooks: - - id: checkstyle - exclude: ".*/src/test/.*" - args: - - -c - - build-tools/src/main/resources/checkstyle.xml - - id: cpd - exclude: ".*/src/test/.*" - - id: pmd - exclude: ".*/src/test/.*" - repo: https://github.com/pre-commit/mirrors-eslint rev: v8.33.0 # Use the sha / tag you want to point at hooks: diff --git a/Makefile b/Makefile index ab98df1..52b5224 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,17 @@ database.migrate: .PHONY: rebuild.api rebuild.api: - docker-compose down - docker rmi sextant-dev-api || true + docker-compose stop api || true + docker-compose rm -f api || true + docker rmi -f sextant-dev-api || true docker-compose up -d docker-compose exec api bash + + +.PHONY: rebuild.frontend +rebuild.frontend: + docker-compose stop frontend || true + docker-compose rm -f frontend || true + docker rmi -f sextant-dev-frontend || true + docker-compose up -d + docker-compose exec frontend bash