You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
349 B

  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", "-race"], # sqlite redis memcache cert pam tidb
  17. ["go", "build", "-race"],
  18. ["./gogs", "web"]
  19. ]