From 1fa3154f51f5c8695e0e3a751e0c8e6cf9a3b733 Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 21 Sep 2023 22:55:38 +0200 Subject: [PATCH] fix paths --- Makefile | 11 +++++++++++ ambrowse.go | 4 ++-- go.mod | 9 +++++---- 3 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..12afd57 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: all bin + + +all: + OS=linux ARCH=amd64 make bin + OS=darwin ARCH=amd64 make bin + 7z a ambrowse.zip *.bin + +bin: ambrowse.go go.mod + GOOS="$(OS)" GOARCH="$(ARCH)" CGO_ENABLED=0 go build -o "ambrowse-$(OS)-$(ARCH).bin" -ldflags '-s -w' + diff --git a/ambrowse.go b/ambrowse.go index e1ada51..4cf9ebb 100644 --- a/ambrowse.go +++ b/ambrowse.go @@ -7,8 +7,8 @@ import ( "strings" "time" - goutil "git.gutmet.org/goutil.git/html" - "git.gutmet.org/goutil.git/misc" + goutil "git.fireandbrimst.one/aw/goutil/html" + "git.fireandbrimst.one/aw/goutil/misc" "github.com/fsnotify/fsnotify" "golang.org/x/net/html" ) diff --git a/go.mod b/go.mod index 45db738..a14d77c 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,11 @@ -module git.gutmet.org/ambrowse.git +module git.fireandbrimst.one/aw/ambrowse -go 1.14 +go 1.20 require ( - git.gutmet.org/goutil.git v0.0.0-20201011110813-b9f7ae29b4e6 + git.fireandbrimst.one/aw/goutil v0.0.0-20230304172414-ed46142b443c github.com/fsnotify/fsnotify v1.4.9 golang.org/x/net v0.0.0-20201010224723-4f7140c49acb - golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634 // indirect ) + +require golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634 // indirect