.bra.toml 466 B

1234567891011121314151617181920
  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-bindata", "-o=modules/bindata/bindata.go", "-ignore=\\.DS_Store|README", "-pkg=bindata", "conf/..."],
  17. ["go", "install", "-tags", "sqlite cert"],# redis memcache
  18. ["go", "build", "-tags", "sqlite cert"],
  19. ["./gogs", "web"]
  20. ]