[PD1] Innitial commit

This commit is contained in:
Afonso Franco 2024-04-16 09:02:23 +01:00
parent 287ae0e466
commit c0e19b5774
Signed by: afonso
SSH key fingerprint: SHA256:aiLbdlPwXKJS5wMnghdtod0SPy8imZjlVvCyUX9DJNk
10 changed files with 71 additions and 0 deletions

18
Projs/PD1/tokefile.toml Normal file
View file

@ -0,0 +1,18 @@
[targets.setup]
wildcards=[["golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest","github.com/kisielk/errcheck@latest"]]
cmd="go install @@"
[targets.check]
wildcards=[["go vet ./...","shadow ./...","errcheck ./..."]]
cmd="@@"
[targets.build]
cmd="go build"
[targets.server]
deps=["check"]
cmd="go run ./src/server/server.go"
[targets.client]
deps=["check"]
cmd="go run ./src/server/client.go"