refactor, go work

This commit is contained in:
ctengiz
2024-03-25 11:30:06 +03:00
parent e78ff14861
commit 1f62906e95
47 changed files with 40 additions and 241 deletions

View File

@@ -0,0 +1,35 @@
[config]
root_path = "."
# debug | info | warn | error | mute
# Defaults to Info if not provided
log_level = "warn"
# Debounce setting for ignoring reptitive file system notifications
debounce = 1000 # Milliseconds
# Sets what files the watcher should ignore
[config.ignore]
# Directories to ignore
dir = [".git", "node_modules", "frontend", "bin"]
# Files to ignore
file = [".DS_Store", ".gitignore", ".gitkeep"]
# File extensions to watch
watched_extension = ["*.go"]
# Add .gitignore paths to ignore
git_ignore = true
[config.background]
cmd = "wails3 task dev:frontend"
[[config.executes]]
cmd = "go mod tidy"
blocking = true
[[config.executes]]
cmd = "wails3 task build"
blocking = true
[[config.executes]]
cmd = "KILL_STALE"
[[config.executes]]
cmd = "./bin/bordro-robotu.exe"
primary = true