chore: don't use symbolic links on Windows builds (#1133)

Cygwin can't resolve them correctly, causing cryptic errors during
build.

Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
Juan Cruz Viotti 2017-02-27 10:09:04 -04:00 committed by GitHub
parent d9bd509d22
commit 2ebef51d38
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ if [ "$ARGV_PRODUCTION" == "true" ]; then
fi
if [ -n "$ARGV_PREFIX" ]; then
ln -s "$PWD/bower.json" "$ARGV_PREFIX/bower.json"
cp "$PWD/bower.json" "$ARGV_PREFIX/bower.json"
pushd "$ARGV_PREFIX"
bower install $INSTALL_OPTS
popd

View File

@ -99,10 +99,10 @@ if [ "$ARGV_PRODUCTION" == "true" ]; then
fi
if [ -n "$ARGV_PREFIX" ]; then
ln -s "$PWD/package.json" "$ARGV_PREFIX/package.json"
cp "$PWD/package.json" "$ARGV_PREFIX/package.json"
if [ -f "$PWD/npm-shrinkwrap.json" ]; then
ln -s "$PWD/npm-shrinkwrap.json" "$ARGV_PREFIX/npm-shrinkwrap.json"
cp "$PWD/npm-shrinkwrap.json" "$ARGV_PREFIX/npm-shrinkwrap.json"
fi
pushd "$ARGV_PREFIX"