pulsar/script/copy-files-to-bundle
Kevin Sawicki 865b70e16d Don't exclude node_modules/less
Less is no longer vendored and so it should now be
copied over.
2013-04-16 08:46:13 -07:00

15 lines
477 B
Bash
Executable File

#!/bin/sh
# This can only be run by xcode or xcodebuild!
set -e
COMPILED_SOURCES_DIR="${1}"
RESOUCES_PATH="$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH"
# Copy non-coffee files into bundle
rsync --archive --recursive \
--exclude="src/**.coffee" --exclude="src/**.cson" \
--exclude="src/**.less" --exclude="static/**.less" \
node_modules src static vendor spec benchmark themes dot-atom atom.sh \
"${COMPILED_SOURCES_DIR}/" "$RESOUCES_PATH"