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 60fbf65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,6 @@ 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: up
up: ## Build and start the app containers
@docker compose up -d --build
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 60fbf65

Please sign in to comment.