diff --git a/.gitignore b/.gitignore index 6fef7d758..b4d957e5c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /lotus /lotus-storage-miner +/lotus-seal-worker /pond /townhall /fountain diff --git a/Makefile b/Makefile index 58853783e..b2884b0ac 100644 --- a/Makefile +++ b/Makefile @@ -74,11 +74,11 @@ lotus-storage-miner: $(BUILD_DEPS) go run github.com/GeertJohan/go.rice/rice append --exec lotus-storage-miner -i ./build .PHONY: lotus-storage-miner -lotus-worker: $(BUILD_DEPS) - rm -f lotus-worker - go build -o lotus-worker ./cmd/lotus-worker - go run github.com/GeertJohan/go.rice/rice append --exec lotus-worker -i ./build -.PHONY: lotus-worker +lotus-seal-worker: $(BUILD_DEPS) + rm -f lotus-seal-worker + go build -o lotus-seal-worker ./cmd/lotus-seal-worker + go run github.com/GeertJohan/go.rice/rice append --exec lotus-seal-worker -i ./build +.PHONY: lotus-seal-worker CLEAN+=lotus-storage-miner diff --git a/cmd/lotus-worker/main.go b/cmd/lotus-seal-worker/main.go similarity index 98% rename from cmd/lotus-worker/main.go rename to cmd/lotus-seal-worker/main.go index f2f2f0ffb..8fe1f8e9d 100644 --- a/cmd/lotus-worker/main.go +++ b/cmd/lotus-seal-worker/main.go @@ -25,7 +25,7 @@ func main() { } app := &cli.App{ - Name: "lotus-worker", + Name: "lotus-seal-worker", Usage: "Remote storage miner worker", Version: build.Version, Flags: []cli.Flag{ diff --git a/cmd/lotus-worker/sub.go b/cmd/lotus-seal-worker/sub.go similarity index 100% rename from cmd/lotus-worker/sub.go rename to cmd/lotus-seal-worker/sub.go