.bra.toml 355 B

12345678910111213141516171819
  1. [run]
  2. init_cmds = [
  3. #["grep", "-rn", "FIXME", "."],
  4. ["./gogs", "web"]
  5. ]
  6. watch_all = true
  7. watch_dirs = [
  8. "$WORKDIR/cmd",
  9. "$WORKDIR/models",
  10. "$WORKDIR/modules",
  11. "$WORKDIR/routers"
  12. ]
  13. watch_exts = [".go"]
  14. build_delay = 1500
  15. cmds = [
  16. ["go", "install", "-v", "-race"], # sqlite redis memcache cert pam tidb
  17. ["go", "build", "-race"],
  18. ["./gogs", "web"]
  19. ]