Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
michplunkett committed Sep 4, 2023
1 parent 12505e4 commit d2092fb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build: ## Build containers
docker-compose build

.PHONY: build_with_version
build_with_version: create_empty_secret
build_with_version:
docker-compose build --build-arg MAKE_PYTHON_VERSION=$(PYTHON_VERSION)

.PHONY: test_with_version
Expand Down Expand Up @@ -88,10 +88,3 @@ help: ## Print this message and exit
.PHONY: attach
attach:
docker-compose exec postgres psql -h localhost -U openoversight openoversight-dev

.PHONY: create_empty_secret
create_empty_secret: ## This is needed to make sure docker doesn't create an empty directory, or delete that directory first
touch service_account_key.json || \
(echo "Need to delete that empty directory first"; \
sudo rm -d service_account_key.json/; \
touch service_account_key.json)

0 comments on commit d2092fb

Please sign in to comment.