Permalink
Browse files

Expand symlinks when copying spec tests.

  • Loading branch information...
Andy Chu
Andy Chu committed Sep 5, 2017
1 parent 20b9cdb commit d5a64ee152c93f89003cda18d99213209bb8603f
Showing with 4 additions and 2 deletions.
  1. +4 −2 scripts/release.sh
View
@@ -154,8 +154,10 @@ deploy-doc() {
build/metrics.sh linecount-nativedeps \
> $release_dir/metrics/linecount-nativedeps.txt
# Tests
cp -v -r --no-target-directory _tmp/spec/ $release_dir/test/spec
# --dereference because test/spec has css symlinks that should be files.
# rsync should just transfer raw files.
cp -v -r --force --dereference --no-target-directory \
_tmp/spec/ $release_dir/test/spec
# Generate release index.
html-index $release_root_dir _tmp/releases.html

0 comments on commit d5a64ee

Please sign in to comment.