diff --git a/go.mod b/go.mod index 409d99d..83844be 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module hotbuild +module github.com/wandercn/hotbuild go 1.16 diff --git a/hotbuild b/hotbuild new file mode 100755 index 0000000..f4dd554 Binary files /dev/null and b/hotbuild differ diff --git a/main.go b/main.go index 111b241..b06ff5d 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ # Author : wander # Email : wander@email.cn # File Name : main.go -# Last Modified : 2021-07-02 17:05 +# Last Modified : 2021-07-03 08:08 # Describe : # # ====================================================*/ @@ -12,7 +12,8 @@ package main import ( "fmt" - "hotbuild/watch" + + "github.com/wandercn/hotbuild/watch" ) func main() { diff --git a/run/run.go b/run/run.go index 94f5a25..43369f5 100644 --- a/run/run.go +++ b/run/run.go @@ -4,7 +4,7 @@ # Author : wander # Email : wander@email.cn # File Name : run.go -# Last Modified : 2021-07-02 15:31 +# Last Modified : 2021-07-03 08:12 # Describe : # # ====================================================*/ @@ -13,10 +13,11 @@ package run import ( "fmt" - "hotbuild/config" "os" "os/exec" "strings" + + "github.com/wandercn/hotbuild/config" ) /* 编译代码 */ diff --git a/tree/tree.go b/tree/tree.go index 22f3078..f687992 100644 --- a/tree/tree.go +++ b/tree/tree.go @@ -4,7 +4,7 @@ # Author : wander # Email : wander@email.cn # File Name : tree.go -# Last Modified : 2021-07-02 15:31 +# Last Modified : 2021-07-03 08:12 # Describe : # # ====================================================*/ @@ -13,9 +13,10 @@ package tree import ( "fmt" - "hotbuild/strslice" "os" "path" + + "github.com/wandercn/hotbuild/strslice" ) func TreeDirs(dir string, dirList *[]string, excludeDir []string) error { diff --git a/watch/watch.go b/watch/watch.go index 8bd5641..0da208f 100644 --- a/watch/watch.go +++ b/watch/watch.go @@ -4,7 +4,7 @@ # Author : wander # Email : wander@email.cn # File Name : watch.go -# Last Modified : 2021-07-02 17:30 +# Last Modified : 2021-07-03 08:12 # Describe : # # ====================================================*/ @@ -13,13 +13,13 @@ package watch import ( "fmt" - "hotbuild/config" - "hotbuild/run" - "hotbuild/tree" "log" "os" "github.com/fsnotify/fsnotify" + "github.com/wandercn/hotbuild/config" + "github.com/wandercn/hotbuild/run" + "github.com/wandercn/hotbuild/tree" ) func Start() {