merge: updates from upstream
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
Conflicts: .gitignore lib/wabanex/application.ex mix.lock
This commit is contained in:
18
Makefile
18
Makefile
@@ -36,21 +36,17 @@ test: ## run tests
|
||||
compose_up: ## start containers for this service
|
||||
@$(COMPOSE) up -d
|
||||
|
||||
.PHONY: compose_deps_upgrade
|
||||
compose_deps_upgrade: ## install/upgrade deps
|
||||
@$(COMPOSE) run --entrypoint mix app do deps.get, deps.compile, compile
|
||||
|
||||
.PHONY: compose_test
|
||||
compose_test: ## run tests in containers
|
||||
@$(COMPOSE) run -e MIX_ENV=test --entrypoint make app test
|
||||
.PHONY: compose_watch
|
||||
compose_watch: ## start containers for this service watching for updates in filesystem
|
||||
@$(COMPOSE) up -w
|
||||
|
||||
.PHONY: compose_database_create
|
||||
compose_database_create:
|
||||
@$(COMPOSE) --profile setup run db_setup
|
||||
@$(COMPOSE) run --rm --entrypoint mix app ecto.create
|
||||
|
||||
.PHONY: compose_database_migrate
|
||||
compose_database_migrate: ## apply migrations to our database
|
||||
@$(COMPOSE) --profile migrate run db_migrate
|
||||
@$(COMPOSE) run --rm --entrypoint mix app ecto.migrate
|
||||
|
||||
.PHONY: compose_database_setup
|
||||
compose_database_setup: compose_database_create compose_database_migrate ## create and apply migrations
|
||||
@@ -59,6 +55,10 @@ compose_database_setup: compose_database_create compose_database_migrate ## cre
|
||||
compose_ps: ## status of containers
|
||||
@$(COMPOSE) ps
|
||||
|
||||
.PHONY: compose_remote
|
||||
compose_remote: ## connect to remote node
|
||||
@$(COMPOSE) exec app ./priv/docker/service/docker-remote.sh
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
Reference in New Issue
Block a user