Fix missing .lib files when building libcruby-sys

There is a bug in Cargo, where .gitignore will override the include
directive in Cargo.toml. Since the .gitignore included .lib, the
helix-runtime-*.x86_64.lib and helix-runtime-*.i386.lib weren't being
packaged.
This commit is contained in:
Terence Lee 2017-08-30 22:13:43 -05:00
parent e43599a1bf
commit 96dc384f0e
No known key found for this signature in database
GPG Key ID: FB54F2C65BE915C7
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ script: |
popd
echo -e "Publishing libcruby-sys crate...\n"
# need to do this since there's a .gitignore with *.lib files
# there's a bug in Cargo, where include isn't overriding exclude
rm -rf .git
pushd crates/libcruby-sys
HELIX_LIB_DIR=$PWD cargo publish
popd