2022-09-08 18:32:08 +00:00
|
|
|
weave:
|
2023-01-30 01:45:00 +00:00
|
|
|
srcweave --formatter srcweave-format --weave docs/ ReadMe.md security/Authentication.md EnvironmentVariables.md Dependencies.md server/Server.md server/Streaming.md \
|
|
|
|
server/XdotoolCommands.md ThreatModel.md Client.md
|
2023-01-01 01:23:52 +00:00
|
|
|
util/removefencedcode.py
|
2022-09-08 18:32:08 +00:00
|
|
|
tangle:
|
2023-01-30 01:45:00 +00:00
|
|
|
srcweave --formatter srcweave-format --tangle smartkeyboard/ ReadMe.md security/Authentication.md EnvironmentVariables.md Dependencies.md \
|
2023-03-04 05:49:13 +00:00
|
|
|
server/Server.md server/Streaming.md server/Sendkeys.md server/XdotoolCommands.md ThreatModel.md Client.md tools/Tools.md tools/Editor.md tools/Input.md \
|
|
|
|
tools/RawCapture.md
|
2022-09-08 18:32:08 +00:00
|
|
|
clean:
|
|
|
|
rm -rf docs
|
|
|
|
find smartkeyboard/ -type f -not -name "*_test.go" -delete
|
|
|
|
rm go.mod
|
|
|
|
rm go.sum
|
|
|
|
|
2022-12-31 06:34:03 +00:00
|
|
|
build: tangle
|
2023-01-27 00:51:31 +00:00
|
|
|
- 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
|
2023-03-05 04:55:02 +00:00
|
|
|
|
2022-12-31 06:34:03 +00:00
|
|
|
|
|
|
|
|
2022-09-08 18:32:08 +00:00
|
|
|
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 ./...
|
2022-09-08 18:32:08 +00:00
|
|
|
|
|
|
|
all: weave tangle
|