Skip to content

Commit

Permalink
Better messaging around auto tool install
Browse files Browse the repository at this point in the history
  • Loading branch information
oxtoacart committed Feb 21, 2015
1 parent 499081f commit dd355cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions genassets.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ APP="$LANTERN_UI/app"
DIST="$LANTERN_UI/dist"

if [ ! -d $DIST ] || [ $APP -nt $DIST ]; then
echo "Updating dist folder"

# Install gulp (requires nodejs)
which gulp || npm install gulp -g
echo "Installing gulp tool if necessary (requires nodejs)"
which gulp || npm install -g gulp

echo "Updating dist folder"
cd $LANTERN_UI
npm install
rm -Rf dist
Expand Down
6 changes: 3 additions & 3 deletions package_osx.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ then
die "$0: Version required"
fi

# Install svgexport tool (requires nodejs)
which svgexport || npm install svgexport -g
echo "Installing svgexport tool if necessary (requires nodejs)"
which svgexport || npm install -g svgexport

# Install appdmg tool (requires nodejs)
echo "Installing appdmg tool if necessary (requires nodejs)"
which appdmg || npm install -g appdmg

binary="lantern_darwin_amd64"
Expand Down

0 comments on commit dd355cf

Please sign in to comment.