From c4275f61e0be1cc493cb343bc121ea1d0b7f8c90 Mon Sep 17 00:00:00 2001 From: ras0q Date: Thu, 16 Jan 2025 21:18:21 +0900 Subject: [PATCH] remove update-frontend, reset-frontend --- Makefile | 13 +++---------- docs/development.md | 3 --- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index dbfc1d465..e09eddc00 100644 --- a/Makefile +++ b/Makefile @@ -66,16 +66,9 @@ db-lint: ## Lint db docs according to .tbls.yml TRAQ_MARIADB_PORT=$(TEST_DB_PORT) go run main.go migrate --reset docker run --rm --net=host -e TBLS_DSN="mariadb://root:password@127.0.0.1:$(TEST_DB_PORT)/traq" -v $$PWD:/work -w /work ghcr.io/k1low/tbls:$(TBLS_VERSION) lint -c .tbls.yml -.PHONY: update-frontend -update-frontend: ## Update frontend files in dev/frontend - @mkdir -p ./dev/frontend -# renovate:github-url - @curl -L -Ss https://github.com/traPtitech/traQ_S-UI/releases/download/v3.22.1/dist.tar.gz | tar zxv -C ./dev/frontend/ --strip-components=2 - -.PHONY: reset-frontend -reset-frontend: ## Completely replace frontend files in dev/frontend - rm -rf ./dev/frontend - @make update-frontend +.PHONY: goreleaser-snapshot +goreleaser-snapshot: ## Release dry-run + @docker run --rm -it -v $$PWD:/src -w /src goreleaser/goreleaser --snapshot --skip-publish --rm-dist .PHONY: up up: ## Build and start the app containers diff --git a/docs/development.md b/docs/development.md index b49043dec..863069654 100644 --- a/docs/development.md +++ b/docs/development.md @@ -30,9 +30,6 @@ Now you can access to #### Rebuild traQ `make up` -#### Update frontend -`make update-frontend` or `make reset-frontend` - #### Destroy Containers `make down`