Makefile: build wasm files only once (#4005)
This commit is contained in:
parent
2437d5b171
commit
e1456bc53f
2
Makefile
2
Makefile
@ -237,7 +237,7 @@ binary:
|
|||||||
scripts/release.sh build $(EXTRA_ARGS) -o release/${TAG}/$(COMPONENT)_${GOOS}_${GOARCH}${FILEEXT} \
|
scripts/release.sh build $(EXTRA_ARGS) -o release/${TAG}/$(COMPONENT)_${GOOS}_${GOARCH}${FILEEXT} \
|
||||||
storj.io/storj/cmd/${COMPONENT}
|
storj.io/storj/cmd/${COMPONENT}
|
||||||
|
|
||||||
if [ "${COMPONENT}" = "satellite" ] && [ "${GOARCH}" = "amd64" ]; \
|
if [ "${COMPONENT}" = "satellite" ] && [ "${GOOS}" = "linux" ] && [ "${GOARCH}" = "amd64" ]; \
|
||||||
then \
|
then \
|
||||||
echo "Building wasm code"; \
|
echo "Building wasm code"; \
|
||||||
$(MAKE) satellite-wasm; \
|
$(MAKE) satellite-wasm; \
|
||||||
|
Loading…
Reference in New Issue
Block a user