Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ VERSION = $(shell fgrep VERSION version.go | cut -d\" -f2)
all: zfswatcher

zfswatcher:
ifeq (,$(wildcard ./go.mod))
$(GO) mod init zfswatcher
endif
$(GO) get -d
$(GO) build -o $@

Expand Down
2 changes: 1 addition & 1 deletion leds.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package main
import (
"errors"
"fmt"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"os"
"os/exec"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"gopkg.in/gcfg.v1"
"errors"
"fmt"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"github.com/ogier/pflag"
"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package main
import (
"errors"
"fmt"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"io"
"os"
"os/exec"
Expand Down
2 changes: 1 addition & 1 deletion webpagehandlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"fmt"
"regexp"
auth "github.com/abbot/go-http-auth"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"html/template"
"net/http"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package main
import (
"fmt"
auth "github.com/abbot/go-http-auth"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"html/template"
"math/rand"
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion zfswatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ package main

import (
"fmt"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"os"
"os/signal"
"runtime"
Expand Down
2 changes: 1 addition & 1 deletion zparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package main

import (
"errors"
"github.com/damicon/zfswatcher/notifier"
"zfswatcher/notifier"
"io"
"runtime"
"strings"
Expand Down