Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up package release commands in MakeFile #1620

Merged
merged 2 commits into from
Sep 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ test-deprecated:

package-wapm:
mkdir -p "package/bin"
cp ./wapm-cli/target/release/wapm package/bin/
ifeq ($(OS), Windows_NT)
echo ""
else
Expand All @@ -156,10 +157,7 @@ else
cp target/release/wasmer package/bin/
endif

# Comment out WAPM for now to speed up release process.
# cp ./wapm-cli/target/release/wapm package/bin/
# # Create the wax binary as symlink to wapm
# cd package/bin/ && ln -sf wapm wax && chmod +x wax


package-capi:
mkdir -p "package/include"
Expand All @@ -172,12 +170,12 @@ ifeq ($(OS), Windows_NT)
else
ifeq ($(UNAME_S), Darwin)
cp target/release/libwasmer_c_api.dylib package/lib/libwasmer.dylib
# cp target/release/libwasmer_c_api.a package/lib/libwasmer.a
cp target/release/libwasmer_c_api.a package/lib/libwasmer.a
# Fix the rpath for the dylib
install_name_tool -id "@rpath/libwasmer.dylib" package/lib/libwasmer.dylib
else
cp target/release/libwasmer_c_api.so package/lib/libwasmer.so
# cp target/release/libwasmer_c_api.a package/lib/libwasmer.a
cp target/release/libwasmer_c_api.a package/lib/libwasmer.a
endif
endif

Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


# TODO: find this automatically
target_version = "1.0.0-alpha01.1"
target_version = "1.0.0-alpha02.0"

# TODO: generate this by parsing toml files
dep_graph = {
Expand Down