Skip to content

Commit fc2b20e

Browse files
authored
feat(config): update Air configuration and cleanup (#1302)
- Change args_bin to ["start", "server"] - Update bin path for csghub-portal - Remove unnecessary .idea files - Add .idea/ to .gitignore - Update yarn.lock with new dependencies
1 parent 53b0ed4 commit fc2b20e

File tree

7 files changed

+667
-46
lines changed

7 files changed

+667
-46
lines changed

.air.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ testdata_dir = "testdata"
33
tmp_dir = "tmp"
44

55
[build]
6-
args_bin = []
7-
bin = "./tmp/csghub-portal start server"
6+
args_bin = ["start", "server"]
7+
bin = "./tmp/csghub-portal"
88
cmd = "go build -o ./tmp/csghub-portal ./cmd/csghub-portal"
99
delay = 1000
1010
exclude_dir = ["assets", "tmp", "vendor", "testdata", "frontend/src", "frontend/node_modules"]

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ cmd/csghub-portal/__debug_*
4646
app.log
4747

4848
frontend/coverage
49+
50+
.idea/

.idea/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/csghub-ui.iml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)