#!/bin/bash
npm install -g gulp
npm install -g typedoc
npm install -g tsd@next
npm install

echo "{\"token\": \"$GHTOKEN\"}" > ~/.tsdrc

# Pull typings from the cache and attempt to get latest
cp -r $HOME/typings .
tsd reinstall -so; true

#!/bin/bash
npm install -g gulp
npm install -g typedoc
npm install -g tsd@next
npm install

echo "{\"token\": \"$GHTOKEN\"}" > ~/.tsdrc

# Pull typings from the cache and attempt to get latest
cp -r $HOME/typings .
# make three attempts to get the typings
tsd reinstall -so || tsd reinstall -so || tsd reinstall -so || true

Make three attempts to get the typings
Make three attempts to get the typings
