diff --git a/.gitignore b/.gitignore index 2bbf35513..fd2842e89 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /lotus /lotus-storage-miner +/pond **/*.h **/*.a **/*.pc diff --git a/Makefile b/Makefile index ce6b5512a..ffaf802f7 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,11 @@ build: $(BUILD_DEPS) go build -o lotus-storage-miner ./cmd/lotus-storage-miner .PHONY: build +pond: build + go build -o pond ./lotuspond + (cd lotuspond/front && npm run build) +.PHONY: pond + clean: rm -rf $(CLEAN) -$(MAKE) -C $(BLS_PATH) clean diff --git a/pond/front/.gitignore b/lotuspond/front/.gitignore similarity index 100% rename from pond/front/.gitignore rename to lotuspond/front/.gitignore diff --git a/pond/front/package-lock.json b/lotuspond/front/package-lock.json similarity index 100% rename from pond/front/package-lock.json rename to lotuspond/front/package-lock.json diff --git a/pond/front/package.json b/lotuspond/front/package.json similarity index 100% rename from pond/front/package.json rename to lotuspond/front/package.json diff --git a/pond/front/public/index.html b/lotuspond/front/public/index.html similarity index 100% rename from pond/front/public/index.html rename to lotuspond/front/public/index.html diff --git a/pond/front/public/manifest.json b/lotuspond/front/public/manifest.json similarity index 100% rename from pond/front/public/manifest.json rename to lotuspond/front/public/manifest.json diff --git a/pond/front/src/App.css b/lotuspond/front/src/App.css similarity index 100% rename from pond/front/src/App.css rename to lotuspond/front/src/App.css diff --git a/pond/front/src/App.js b/lotuspond/front/src/App.js similarity index 100% rename from pond/front/src/App.js rename to lotuspond/front/src/App.js diff --git a/pond/front/src/App.test.js b/lotuspond/front/src/App.test.js similarity index 100% rename from pond/front/src/App.test.js rename to lotuspond/front/src/App.test.js diff --git a/pond/front/src/ConnMgr.js b/lotuspond/front/src/ConnMgr.js similarity index 100% rename from pond/front/src/ConnMgr.js rename to lotuspond/front/src/ConnMgr.js diff --git a/pond/front/src/FullNode.js b/lotuspond/front/src/FullNode.js similarity index 100% rename from pond/front/src/FullNode.js rename to lotuspond/front/src/FullNode.js diff --git a/pond/front/src/NodeList.js b/lotuspond/front/src/NodeList.js similarity index 100% rename from pond/front/src/NodeList.js rename to lotuspond/front/src/NodeList.js diff --git a/pond/front/src/index.css b/lotuspond/front/src/index.css similarity index 100% rename from pond/front/src/index.css rename to lotuspond/front/src/index.css diff --git a/pond/front/src/index.js b/lotuspond/front/src/index.js similarity index 100% rename from pond/front/src/index.js rename to lotuspond/front/src/index.js diff --git a/pond/main.go b/lotuspond/main.go similarity index 96% rename from pond/main.go rename to lotuspond/main.go index 95984f687..2f149f47e 100644 --- a/pond/main.go +++ b/lotuspond/main.go @@ -108,7 +108,7 @@ func main() { rpcServer := jsonrpc.NewServer() rpcServer.Register("Pond", &api{running: map[int32]runningNode{}}) - http.Handle("/", http.FileServer(http.Dir("testbed/front/build"))) + http.Handle("/", http.FileServer(http.Dir("lotuspond/front/build"))) http.Handle("/rpc/v0", rpcServer) fmt.Printf("Listening on http://%s\n", listenAddr)