- Follow the instructions from the wiki article here to setup your development environment.
- Open up a terminal to the folder where you want to clone the repo and run the command
[email protected]:msoe-sg/jekyll-github-pages-gem.git
- After run the clone change into the project directory by running the command
cd jekyll-github-pages-gem
- Next install the dependencies for the project by running the command
bundle install
- Contribute Our git flow process is typical--we have a master branch that gets released to the public, and feature branches for individual tasks. We don't have a development branch yet since this isn't used in production yet. If you have questions on how to contribute, please contact [email protected] or [email protected] and we will get back to you at our earliest convenience.
To generate HTML documentation for the Gem run the command rake rdoc
and the HTML will then be available in the html/
directory in the project.
There are checks that will be performed whenever Pull Requests are opened. To save time on the build server, please run the tests locally to check for errors that will occur in the CI builds.
- To run Rubocop, run the command
bundle exec rubocop
. Note the commandbundle exec rubocop -a
will attempt to automatically fix any offenses found by rubocop but some still need to be resolved manually. - To run all unit tests, run the command
rake
When the gem is released it's deployed to a https://rubygems.org project. The SSE webmaster controls the rubygems project and will handle releasing the gem to rubygems. The following commands below are used to release the gem if you have permissions to the rubygems project.
gem build jekyll_github_pages
gem push jekyll-github-pages-gem-<VERSION>.gem