Skip to content

Commit

Permalink
Improved artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jun 5, 2020
1 parent 09cc8e4 commit ae46b16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
**/target
**/*.rs.bk
/artifacts
.DS_Store
.idea
**/.vscode
api-docs-repo/
/.cargo_home/
/package/
/dist/
/wapm-cli/

# Generated by tests on Android
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,15 @@ package: package-wasmer package-capi
ifeq ($(OS), Windows_NT)
copy ".\LICENSE" ".\package\LICENSE"
copy ".\ATTRIBUTIONS.md" ".\package\ATTRIBUTIONS"
cd src\windows-installer && iscc wasmer.iss
iscc src\windows-installer\wasmer.iss
if not exist "dist" mkdir "dist"
copy ".\src\windows-installer\WasmerInstaller.exe" ".\dist\wasmer-windows.exe"
else
cp LICENSE package/LICENSE
cp ATTRIBUTIONS.md package/ATTRIBUTIONS
tar -C package -zcvf wasmer.tar.gz bin lib include LICENSE ATTRIBUTIONS
mkdir -p "dist"
cp ./wasmer.tar.gz ./dist/$(./scripts/capi-name.sh)
endif

#################
Expand Down

0 comments on commit ae46b16

Please sign in to comment.