mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 00:00:49 +00:00
Make commands more clear
This commit is contained in:
parent
38830ed8e5
commit
69d88ced53
@ -29,7 +29,7 @@ before_deploy:
|
||||
# Release
|
||||
- make release-singlepass
|
||||
- make wapm
|
||||
- make build-install
|
||||
- make build-install-package
|
||||
- mkdir -p artifacts
|
||||
- cp ./wasmer.tar.gz ./artifacts/$(./scripts/binary-name.sh)
|
||||
|
||||
|
7
Makefile
7
Makefile
@ -287,8 +287,8 @@ bench-llvm:
|
||||
cargo bench --all --no-default-features --features "backend-llvm" \
|
||||
--exclude wasmer-singlepass-backend --exclude wasmer-clif-backend --exclude wasmer-kernel-loader
|
||||
|
||||
# Build utils
|
||||
build-install:
|
||||
build-install-package:
|
||||
# This command doesn't build the binary, just packages it
|
||||
mkdir -p ./install/bin
|
||||
cp ./wapm-cli/target/release/wapm ./install/bin/
|
||||
cp ./target/release/wasmer ./install/bin/
|
||||
@ -296,7 +296,8 @@ build-install:
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
build-capi:
|
||||
build-capi-package:
|
||||
# This command doesn't build the C-API, just packages it
|
||||
mkdir -p ./capi/
|
||||
mkdir -p ./capi/include
|
||||
mkdir -p ./capi/lib
|
||||
|
@ -153,7 +153,7 @@ jobs:
|
||||
condition: |
|
||||
startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
||||
- bash: |
|
||||
make build-install
|
||||
make build-install-package
|
||||
cp ./wasmer.tar.gz ./artifacts/$(./scripts/binary-name.sh)
|
||||
displayName: Build Distribution (*nix)
|
||||
condition: |
|
||||
@ -215,7 +215,7 @@ jobs:
|
||||
make capi
|
||||
displayName: Build c-api
|
||||
- bash: |
|
||||
make build-capi
|
||||
make build-capi-package
|
||||
cp ./wasmer-c-api.tar.gz ./artifacts/$(./scripts/capi-name.sh)
|
||||
displayName: Build c-api artifacts (Unix)
|
||||
condition: |
|
||||
@ -224,7 +224,7 @@ jobs:
|
||||
not(eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
)
|
||||
- bash: |
|
||||
make build-capi
|
||||
make build-capi-package
|
||||
cp ./wasmer-c-api.tar.gz ./artifacts/wasmer-c-api-windows.tar.gz
|
||||
displayName: Build c-api artifacts (Windows)
|
||||
condition: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user