fix paths

This commit is contained in:
gutmet 2023-09-21 22:55:38 +02:00
parent 0b325cf405
commit 1fa3154f51
3 changed files with 18 additions and 6 deletions

11
Makefile Normal file
View File

@ -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'

View File

@ -7,8 +7,8 @@ import (
"strings" "strings"
"time" "time"
goutil "git.gutmet.org/goutil.git/html" goutil "git.fireandbrimst.one/aw/goutil/html"
"git.gutmet.org/goutil.git/misc" "git.fireandbrimst.one/aw/goutil/misc"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
"golang.org/x/net/html" "golang.org/x/net/html"
) )

9
go.mod
View File

@ -1,10 +1,11 @@
module git.gutmet.org/ambrowse.git module git.fireandbrimst.one/aw/ambrowse
go 1.14 go 1.20
require ( 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 github.com/fsnotify/fsnotify v1.4.9
golang.org/x/net v0.0.0-20201010224723-4f7140c49acb 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