Compare commits

..

No commits in common. "04f4bc04e9e3ddb5c246bca991002f148e1cca32" and "3b4c4dcc06948ad1f01edb7c830589edf917ff2f" have entirely different histories.

3 changed files with 9 additions and 28 deletions

View File

@ -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

View File

@ -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 ./...}"
}
} }
} }

View File

@ -45,7 +45,6 @@
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
go go
gopls gopls
air
tctp.${system} tctp.${system}
tctpl.${system} tctpl.${system}
vscode-langservers-extracted vscode-langservers-extracted