-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f5929a
commit d99e5a4
Showing
8 changed files
with
282 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
##@ shortcuts helpers | ||
.PHONY: fmt | ||
fmt: fmt-backend fmt-frontend ## Fmt all | ||
|
||
.PHONY: lint | ||
lint: lint-backend lint-frontend ## Lint all | ||
|
||
.PHONY: test | ||
test: test-backend test-frontend ## Test all | ||
|
||
.PHONY: i18n | ||
i18n: ## Run frontend i18n | ||
@echo "### generating frontend locales" | ||
cd web && npm run i18n | ||
|
||
.PHONY: build-frontend | ||
build-frontend: install-frontend fmt-frontend just-build-frontend ## Run npm install, format and build frontend | ||
|
||
.PHONY: build | ||
build: build-backend build-frontend ## Build all | ||
|
||
.PHONY: build-standalone | ||
build-standalone: build-backend build-frontend-standalone ## Build all as standalone | ||
|
||
.PHONY: frontend | ||
frontend: build-frontend lint-frontend test-frontend ## Build lint and test frontend | ||
|
||
.PHONY: backend | ||
backend: build-backend lint-backend test-backend ## Build lint and test backend | ||
|
||
.PHONY: build-image | ||
build-image: image-build ## Build MULTIARCH_TARGETS images | ||
|
||
.PHONY: push-image | ||
push-image: image-push ## Push MULTIARCH_TARGETS images | ||
|
||
.PHONY: build-manifest | ||
build-manifest: manifest-build ## Build MULTIARCH_TARGETS manifest | ||
|
||
.PHONY: push-manifest | ||
push-manifest: manifest-push ## Push MULTIARCH_TARGETS manifest | ||
|
||
.PHONY: images | ||
images: image-build image-push manifest-build manifest-push ## Build and push MULTIARCH_TARGETS images and related manifest | ||
|
||
.PHONY: build-ci-manifest | ||
build-ci-manifest: ci-manifest-build ## Build CI manifest | ||
|
||
.PHONY: push-ci-manifest | ||
push-ci-manifest: ci-manifest-push ## Push CI manifest | ||
|
||
.PHONY: ci-manifest | ||
ci-manifest: ci-manifest-build ci-manifest-push ## Build and push CI manifest | ||
|
||
.PHONY: ci | ||
ci: images ci-manifest ## Build and push CI images and manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.