commit 2789545bd7abcd1d7d055154d7cff46b53bb2e35 Author: Kevin F Date: Thu Sep 8 13:32:08 2022 -0500 Added make file to manage literacy commands and tests Setup gitignore to ignore tangled files except for go tests diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..355c880 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +docs/* +*.go +!smartkeyboard/auth/*_test.go +go.mod +go.sum \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4fab93e --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +weave: + srcweave --formatter srcweave-format --weave docs/ ReadMe.go.md security/Authentication.md +tangle: + srcweave --formatter srcweave-format --tangle smartkeyboard/ ReadMe.go.md security/Authentication.md +clean: + rm -rf docs + find smartkeyboard/ -type f -not -name "*_test.go" -delete + rm go.mod + rm go.sum + +test: tangle + -go mod init voidnet.tech/m/v2 + go mod tidy + go test -v ./... + +all: weave tangle \ No newline at end of file