Skip to content

Commit

Permalink
Merge pull request #30 from pikesley/mention-badger
Browse files Browse the repository at this point in the history
badger
  • Loading branch information
Sam Pikesley committed Jan 19, 2016
2 parents 53ea074 + 896c94b commit 5e8d882
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
38 changes: 23 additions & 15 deletions lib/skellington/cli.rb
Expand Up @@ -18,22 +18,30 @@ def generate wormname

desc 'postinstall', 'Show some helpful hints'
def postinstall
s = 'Some other things you might find useful (sweeten to taste):'
s << "\n\n"
s << '* Set up continuous integration in Travis:'
s << "\n\n"
s << ' travis init'
s << "\n\n"
s << '* Configure a Heroku app:'
s << "\n\n"
s << " heroku apps:create YOUR-APP-NAME-HERE --region=eu"
s << "\n\n"
s << '* Get Travis to continuously deploy to Heroku:'
s << "\n\n"
s << ' travis setup heroku'
s << "\n\n"
s << "(This all depends on you having Travis and Heroku installed and configured)"
s = <<HEREDOC
Some other things you might find useful (sweeten to taste):
* Set up continuous integration in Travis:
gem install travis
travis init
git add .travis.yml
* Configure a Heroku app:
gem install heroku
heroku apps:create YOUR-APP-NAME-HERE --region=eu
* Get Travis to continuously deploy to Heroku:
travis setup heroku
* Add some badges to your README
gem install badgerbadgerbadger
badger > README.md
git add README.md
HEREDOC
puts s
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/skellington/version.rb
@@ -1,3 +1,3 @@
module Skellington
VERSION = '0.4.10'
VERSION = '0.4.11'
end
9 changes: 9 additions & 0 deletions spec/cli_spec.rb
Expand Up @@ -47,15 +47,24 @@ module Skellington
\* Set up continuous integration in Travis:
gem install travis
travis init
git add .travis.yml
\* Configure a Heroku app:
gem install heroku
heroku apps:create YOUR-APP-NAME-HERE --region=eu
\* Get Travis to continuously deploy to Heroku:
travis setup heroku
\* Add some badges to your README
gem install badgerbadgerbadger
badger > README.md
git add README.md
/).to_stdout
end
end
Expand Down

0 comments on commit 5e8d882

Please sign in to comment.