summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-06 09:48:35 -0500
committerJeff Carr <[email protected]>2024-10-06 09:48:35 -0500
commitf255120c10b7e5e40b420018988639aa5ce14d49 (patch)
tree7cd4f7f50431fadb8fc7d2a0f846f1257ffba116 /Makefile
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fb89cfc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+all:
+ -git pull
+ echo "build it!"
+ GO111MODULE=off go build -v -x
+ ./power
+ # su -c "setcap 'cap_net_bind_service=+ep' go.wit.com"
+
+goimports:
+ goimports -w *.go
+
+redomod:
+ rm -f go.*
+ GO111MODULE= go mod init
+ GO111MODULE= go mod tidy
+