From 51273ab371bd38ca6677f5408a1074d3d81f559f Mon Sep 17 00:00:00 2001 From: yan Date: Mon, 18 May 2020 22:11:36 +0800 Subject: [PATCH] init bra toml --- .bra.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 .bra.toml diff --git a/.bra.toml b/.bra.toml new file mode 100755 index 000000000..b94acf49f --- /dev/null +++ b/.bra.toml @@ -0,0 +1,29 @@ +[run] +init_cmds = [ # Commands run in start + ["make", "backend"], + ["./gitea"] +] +watch_all = true # Watch all sub-directories +watch_dirs = [ + "$WORKDIR/routers", + "$WORKDIR/services", + "$WORKDIR/modules", + "$WORKDIR/models", + "$WORKDIR/cmd", +] # Directories to watch +watch_exts = [".go"] # Extensions to watch +env_files = [] # Load env vars from files +ignore = [".git", "node_modules"] # Directories to exclude from watching +ignore_files = [] # Regexps for ignoring specific notifies +follow_symlinks = false # Enable/disable following symbolic links of sub directories +build_delay = 1500 # Minimal interval to Trigger build event +interrupt_timout = 15 # Time to wait until force kill +graceful_kill = true # Wait for exit and before directly kill +cmds = [ # Commands to run + ["make", "backend"], + ["./gitea"] +] + +[sync] +listen_addr = ":5050" +remote_addr = ":5050"