Skip to content

Commit

Permalink
try to not run scripts on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed May 15, 2016
1 parent 09abbb5 commit 316dd94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ if node -e "process.exit(($npm_config_argv).original[0].indexOf('pu') === 0)"; t
exit 0;
fi


if node -e "process.exit(process.platform.indexOf('win32') === 0)"; then
exit 0;
fi

# When we publish to npm, the published files are available in the root
# directory, which allows for a clean include or require of sub-modules.
#
# var language = require('apollo-client/parser');
#

npm run compile

rm -rf ./npm
Expand Down

0 comments on commit 316dd94

Please sign in to comment.