Skip to content

Commit

Permalink
Merge pull request #1085 from traPtitech/conf/task_update_frontend
Browse files Browse the repository at this point in the history
🔧 Taskfileにfrontendを更新するためのコマンド追加
  • Loading branch information
ikura-hamu authored Dec 30, 2024
2 parents d259446 + e41d728 commit 8d846d7
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 deletions.
6 changes: 5 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: "3"

includes:
os:
Expand Down Expand Up @@ -74,3 +74,7 @@ tasks:
clean:db:
cmds:
- task: os:clean:db

update-frontend:
cmds:
- task: os:update-frontend
4 changes: 4 additions & 0 deletions task/Taskfile_darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ tasks:
clean:db:
cmds:
- task: unix:clean:db

update-frontend:
cmds:
- task: unix:update-frontend
6 changes: 5 additions & 1 deletion task/Taskfile_linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: "3"

includes:
unix:
Expand Down Expand Up @@ -49,3 +49,7 @@ tasks:
clean:db:
cmds:
- task: unix:clean:db

update-frontend:
cmds:
- task: unix:update-frontend
7 changes: 6 additions & 1 deletion task/Taskfile_unix.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: "3"

tasks:
download:
Expand Down Expand Up @@ -70,3 +70,8 @@ tasks:
dir: ../
cmds:
- rm -rf mysql/data

update-frontend:
dir: ../
cmds:
- docker compose -f docker/dev/compose.yaml build --no-cache collection-proxy
7 changes: 6 additions & 1 deletion task/Taskfile_windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: "3"

tasks:
download:
Expand Down Expand Up @@ -70,3 +70,8 @@ tasks:
dir: ..\
cmds:
- del .\mysql\data

update-frontend:
dir: ..\
cmds:
- docker compose -f .\docker\dev\compose.yaml build --no-cache collection-proxy

0 comments on commit 8d846d7

Please sign in to comment.