Skip to content

Commit

Permalink
remove update-frontend, reset-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Jan 16, 2025
1 parent a7760d0 commit c4275f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
13 changes: 3 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]:$(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
Expand Down
3 changes: 0 additions & 3 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit c4275f6

Please sign in to comment.