gosmartkeyboard/Makefile

26 lines
1.0 KiB
Makefile
Raw Normal View History

weave:
2023-01-01 21:25:32 +00:00
srcweave --formatter srcweave-format --weave docs/ ReadMe.md security/Authentication.md EnvironmentVariables.md Dependencies.md Server.md Streaming.md ThreatModel.md Client.md
2023-01-01 01:23:52 +00:00
util/removefencedcode.py
tangle:
2023-01-23 04:59:12 +00:00
srcweave --formatter srcweave-format --tangle smartkeyboard/ ReadMe.md security/Authentication.md EnvironmentVariables.md Dependencies.md Server.md Streaming.md ThreatModel.md Client.md tools/Tools.md tools/Editor.md tools/Input.md
clean:
rm -rf docs
find smartkeyboard/ -type f -not -name "*_test.go" -delete
rm go.mod
rm go.sum
build: tangle
- cd smartkeyboard/server && go mod init keyboard.voidnet.tech
- cd smartkeyboard/server && go mod tidy
- cd smartkeyboard/server && go build -o ../../bin/keyboard
- cd smartkeyboard/client && go mod init keyboard.voidnet.tech
- cd smartkeyboard/client && go mod tidy
- cd smartkeyboard/client && go build -o ../../bin/keyboard-client
test: tangle
2022-09-13 17:28:40 +00:00
-cd smartkeyboard && go mod init keyboard.voidnet.tech
-cd smartkeyboard && go mod tidy
-cd smartkeyboard && go test -v ./...
all: weave tangle