mirror of https://git.jolheiser.com/ugit.git
Compare commits
No commits in common. "04f4bc04e9e3ddb5c246bca991002f148e1cca32" and "3b4c4dcc06948ad1f01edb7c830589edf917ff2f" have entirely different histories.
04f4bc04e9
...
3b4c4dcc06
24
.air.toml
24
.air.toml
|
@ -1,24 +0,0 @@
|
||||||
root = "."
|
|
||||||
testdata_dir = "testdata"
|
|
||||||
tmp_dir = "tmp"
|
|
||||||
|
|
||||||
[build]
|
|
||||||
bin = "./ugitd"
|
|
||||||
cmd = "go build ./cmd/ugitd"
|
|
||||||
delay = 1000
|
|
||||||
exclude_file = ["internal/html/tailwind.go"]
|
|
||||||
exclude_regex = ["_test.go"]
|
|
||||||
exclude_unchanged = true
|
|
||||||
include_ext = ["go"]
|
|
||||||
pre_cmd = ["go generate ./..."]
|
|
||||||
|
|
||||||
[misc]
|
|
||||||
clean_on_exit = true
|
|
||||||
|
|
||||||
[proxy]
|
|
||||||
app_port = 8449
|
|
||||||
enabled = true
|
|
||||||
proxy_port = 8450
|
|
||||||
|
|
||||||
[screen]
|
|
||||||
clear_on_rebuild = true
|
|
|
@ -5,13 +5,19 @@ layout {
|
||||||
command "nix"
|
command "nix"
|
||||||
args "develop"
|
args "develop"
|
||||||
size "90%"
|
size "90%"
|
||||||
|
start_suspended true
|
||||||
}
|
}
|
||||||
pane split_direction="vertical" {
|
pane split_direction="vertical" {
|
||||||
pane {
|
pane {
|
||||||
name "air"
|
name "run"
|
||||||
command "nix"
|
command "go"
|
||||||
args "develop" "--command" "air"
|
args "run" "./cmd/ugitd"
|
||||||
start_suspended true
|
start_suspended true
|
||||||
}
|
}
|
||||||
|
pane {
|
||||||
|
name "watch"
|
||||||
|
command "nix"
|
||||||
|
args "develop" "--command" "nu" "-c" "watch --glob *.templ ./internal/html/ {|| go generate ./...}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue