mirror of https://git.jolheiser.com/ugit.git
Compare commits
2 Commits
3b4c4dcc06
...
04f4bc04e9
Author | SHA1 | Date |
---|---|---|
|
04f4bc04e9 | |
|
19b2f55a1a |
|
@ -0,0 +1,24 @@
|
|||
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,19 +5,13 @@ layout {
|
|||
command "nix"
|
||||
args "develop"
|
||||
size "90%"
|
||||
start_suspended true
|
||||
}
|
||||
pane split_direction="vertical" {
|
||||
pane {
|
||||
name "run"
|
||||
command "go"
|
||||
args "run" "./cmd/ugitd"
|
||||
start_suspended true
|
||||
}
|
||||
pane {
|
||||
name "watch"
|
||||
name "air"
|
||||
command "nix"
|
||||
args "develop" "--command" "nu" "-c" "watch --glob *.templ ./internal/html/ {|| go generate ./...}"
|
||||
args "develop" "--command" "air"
|
||||
start_suspended true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue