Skip to content

Instantly share code, notes, and snippets.

@alex-laties
Created October 15, 2014 16:19
Show Gist options
  • Save alex-laties/acdfeb654c4187d97a5e to your computer and use it in GitHub Desktop.
Save alex-laties/acdfeb654c4187d97a5e to your computer and use it in GitHub Desktop.
#!/bin/bash
# Sets paths and runs gulp
# Assumes node is already installed and you run this script from the top level of the repo
ORIGINAL_NODE_PATH=`echo $NODE_PATH`
CURR_DIR=`pwd`
export NODE_PATH=$NODE_PATH:$CURR_DIR/node_modules
$CURR_DIR/node_modules/gulp/bin/gulp.js
export NODE_PATH=$ORIGINAL_NODE_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment