Skip to content

Commit

Permalink
Optimize build file size
Browse files Browse the repository at this point in the history
  • Loading branch information
strahe committed Sep 9, 2024
1 parent dd20ac1 commit 55cb55b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ all: go-deps ui-deps ui go
all-in-one: go-deps ui-deps ui go-dist
aio: all-in-one


go-deps:
git submodule update --init --recursive
make -C extern/filecoin-ffi

go:
go build -o curio-dashboard ./cmd
go build -ldflags="-s -w" -o curio-dashboard ./cmd

go-dist:
go build -o curio-dashboard -tags dist ./cmd
go build -ldflags="-s -w" -o curio-dashboard -tags dist ./cmd

ui-deps:
cd ui && yarn install
Expand Down

0 comments on commit 55cb55b

Please sign in to comment.