summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-06 13:42:55 -0600
committerJeff Carr <[email protected]>2024-11-06 13:42:55 -0600
commit047c382537b76df4ac582230b72c98ef5aa6cbc8 (patch)
tree80ba6be432429e1bb20c3441d2abe0df1b7e1bdf
parent5e5a66739b966272cb4bac6f9ebe72b2365f840e (diff)
build for debian
-rw-r--r--.gitignore3
-rw-r--r--Makefile9
-rw-r--r--control12
3 files changed, 24 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9449fc6..8adf904 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
+go.sum
+go.mod
+
/networkQuality
diff --git a/Makefile b/Makefile
index 23de0af..d13b27e 100644
--- a/Makefile
+++ b/Makefile
@@ -12,3 +12,12 @@ golines:
clean:
go clean -testcache
rm -f *.o core
+
+apple:
+ ./networkQuality --config mensura.cdn-apple.com --port 443 --path /api/v1/gm/config
+
+# makes a .deb package
+debian:
+ # you have to symlink this if you are building it from somewhere else
+ # ln -s ~/go/src/github.com/network-quality/goresponsiveness -> ../../go.wit.com/apps/networkQuality
+ ~/go/bin/go-deb --ldflags "$(PKG)/utilities.GitVersion=$(GIT_VERSION)" --no-gui --repo go.wit.com/apps/networkQuality
diff --git a/control b/control
new file mode 100644
index 0000000..b2db835
--- /dev/null
+++ b/control
@@ -0,0 +1,12 @@
+Source: networkQuality
+Build-Depends: golang
+Package: networkQuality
+Maintainer: Jeff Carr <[email protected]>
+Architecture: amd64
+Recommends:
+Depends:
+URL: https://github.com/network-quality/goresponsiveness
+Description: does a speed test of your internet connection
+ To test against apple.com:
+ networkQuality --config mensura.cdn-apple.com --port 443 --path /api/v1/gm/config
+ This is a debian package of: https://github.com/network-quality/goresponsiveness