Project

begin

0.0
No commit activity in last 3 years
No release in over 3 years
I don't want a single thing preventing me from starting off (even the smallest) library without a good infrastructure to support TDD and clean coding standards. I got tired of reconfiguring the same tools in basically the same way every time. With this one command you can set up a library, fire up Guard, and jump right into the TDD loop: Red, Green, Refactor.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.5.3
~> 10.1.1
~> 2.8.0
~> 0.16.0
~> 1.5

Runtime

~> 0.18.1
 Project Readme

#Begin Build Status Code Climate Gem Version

Given I want to start writing some code.

And I want it to be clean.

When I type begin my_package.

And install the dependencies.

Then I can immediately start writing tests.

###Why? I don't want a single thing preventing me from starting off (even the smallest) library without a good infrastructure to support TDD and clean coding standards. I got tired of reconfiguring the same tools in basically the same way every time. With this one command you can set up a library, fire up Guard, and jump right into the TDD loop: Red, Green, Refactor.

That's all there is too it, right now these are included and configured:

  • RSpec (unit and integration tests)
  • Blam (file generation)
  • Travis
  • Coveralls
  • Code Climate
  • Rake
  • gitignore
  • README
  • Gemfile
  • Rubocop
  • Reek
  • Flay
  • Guard
  • RVM

###Install

gem install begin

Or for you rvm users:

rvm @global do gem install begin

###Setup and Configuration

These options are available:

  • --github_user - Set this to the user for which you will commit this code, this will turn on the readme widgets (coveralls, travis, code climate). You will still have to enable the repo and set up hooks with these services.

To set everything up fastest do this:

  1. Begin your project: begin myproject --github_user=myuser
  2. Create a new repository for the code on github
  3. Initialize a git repository locally and commit everything, push master
  4. Import your project to Code Climate
  5. Import your project to Coveralls
  6. Turn on your project in TravisCI

The next time you push your code, it will kick off a Travis build and update coveralls as a result.