pond: Make target
This commit is contained in:
parent
fa44db3eb8
commit
cc3f8a13ce
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
/lotus
|
||||
/lotus-storage-miner
|
||||
/pond
|
||||
**/*.h
|
||||
**/*.a
|
||||
**/*.pc
|
||||
|
5
Makefile
5
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
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user