Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wandercn committed Jul 3, 2021
1 parent b8bd21e commit 6be4a8f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module hotbuild
module github.com/wandercn/hotbuild

go 1.16

Expand Down
Binary file added hotbuild
Binary file not shown.
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
# Author : wander
# Email : [email protected]
# File Name : main.go
# Last Modified : 2021-07-02 17:05
# Last Modified : 2021-07-03 08:08
# Describe :
#
# ====================================================*/
package main

import (
"fmt"
"hotbuild/watch"

"github.com/wandercn/hotbuild/watch"
)

func main() {
Expand Down
5 changes: 3 additions & 2 deletions run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Author : wander
# Email : [email protected]
# File Name : run.go
# Last Modified : 2021-07-02 15:31
# Last Modified : 2021-07-03 08:12
# Describe :
#
# ====================================================*/
Expand All @@ -13,10 +13,11 @@ package run

import (
"fmt"
"hotbuild/config"
"os"
"os/exec"
"strings"

"github.com/wandercn/hotbuild/config"
)

/* 编译代码 */
Expand Down
5 changes: 3 additions & 2 deletions tree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Author : wander
# Email : [email protected]
# File Name : tree.go
# Last Modified : 2021-07-02 15:31
# Last Modified : 2021-07-03 08:12
# Describe :
#
# ====================================================*/
Expand All @@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions watch/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Author : wander
# Email : [email protected]
# File Name : watch.go
# Last Modified : 2021-07-02 17:30
# Last Modified : 2021-07-03 08:12
# Describe :
#
# ====================================================*/
Expand All @@ -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() {
Expand Down

0 comments on commit 6be4a8f

Please sign in to comment.