Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
Add postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
gakimball committed Dec 3, 2014
1 parent a7d95d0 commit 2966400
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions lib/welcome.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env node

// /|
// | | /| .
// . /\| \/ |/|
// |\/ |
// ||\__/\____/||
// ___|| ======== ||___
// /___|| O O ||___\
// || ______, ||
// /| |\
// /_/\\/\ /\//\_\
// \/\\//\/
// \/

var colors = require('colors');

var yeti = [
'\n /|'
, '\n | | /| .'
, '\n . /\\| \\/ |/|'
, '\n |\\/ |'
, '\n |'+'|\\__/\\____/|'.cyan+'|'
, '\n '+'___'.gray+'|'+'|'.cyan+' '+'========'.gray+' '+'|'.cyan+'|'+'___'.gray
, '\n '+'/___'.gray+'|'+'|'.cyan+' '+'O'.cyan+' '+'O'.cyan+' ||'+'___\\'.gray
, '\n |'+'|'.cyan+' '+'______,'.cyan+' '+'|'.cyan+'|'
, '\n /'+'|'.cyan+' '+'|'.cyan+'\\ '
, '\n /_/\\'+'\\/\\'.cyan+' '+'/\\/'.cyan+'/\\_\\ '
, '\n \\/\\'+'\\/'.cyan+'/\\/'
, '\n \\/'
, '\n'
];

yeti[3] = yeti[3] + ' '+'Thanks for installing Foundation for Apps!';
yeti[4] = yeti[4] + ' ------------------------------------------';
yeti[5] = yeti[5] + ' Type '+'foundation-apps new app'.cyan+' to create a new app,';
yeti[6] = yeti[6] + ' or '+'foundation-apps help'.cyan+' to see every command.';
yeti[8] = yeti[8] + ' '+'@zurbfoundation'.cyan+' on Twitter';

console.log(yeti.join(''));
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"update-notifier": "^0.2.2"
},
"scripts": {
"postinstall": "./lib/welcome.js",
"test": "./bin/cli.js new test"
},
"bin": {
Expand Down

0 comments on commit 2966400

Please sign in to comment.