forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'watch-backend' (go-gitea#12330)
* Add 'watch-backend' This leverages `air` to watch the backend files and trigger `make backend` automatically when they change. It seems to work rather well together with `watch-frontend`. Fixes: go-gitea#12318 * rework docs to a new section for continuous build Co-authored-by: techknowlogick <[email protected]>
- Loading branch information
1 parent
bfb25e4
commit e67c042
Showing
4 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = "." | ||
tmp_dir = ".air" | ||
|
||
[build] | ||
cmd = "make backend" | ||
bin = "gitea" | ||
include_ext = ["go", "tmpl"] | ||
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"] | ||
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,7 @@ coverage.all | |
/public/fonts | ||
/web_src/fomantic/build | ||
/VERSION | ||
/.air | ||
|
||
# Snapcraft | ||
snap/.snapcraft/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters