This is a template gem repository. It can be used to quickly setup a new gem for TagTango or similar projects.
git clone https://github.com/trinistr/tag_tango-template <name>
cd <name>
bin/setup <name>When bin/setup some_name is ran, following things happen:
.gitis removed;- README.md and bin/setup are replaced with template versions;
templateandTemplateare be replaced withsome_nameandSomeNameaccordingly, including file names;bundle installis ran;- finally, a new repository is initialized and all files are committed.
Following exit statuses can be set:
2— command was not used correctly, it must be ran inside the template directory, and name argument must be passed;3—bundle installfailed;4—gitfailed;- different status — some other error happened.
DO NOT RUN bin/setup, this initializes a new repository for a gem.
Add, remove and change files as needed, then test it in a new respoitory with
# in a parent directory
git clone tag_tango-template test_name && cd test_name && bin/setup test_nameBug reports and pull requests are welcome on GitHub at https://github.com/trinistr/tag_tango-template.