Ccup
Verification tool for DevCon Code Challenge Cup
Installation
Add this line to your application's Gemfile:
gem 'ccup'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ccup
Usage
$ ccup SUBMISSION_FILE INPUT_FOLDER OUTPUT_FILE ANSWER_KEY_FILE
Creates a temporary directory and copies SUBMISSION_FILE, the files inside
INPUT_FOLDER, and ANSWER_KEY_FILE into it before compiling (if needed) and
executing the SUBMISSION_FILE.
Verification will be done by running "diff" on OUTPUT_FILE and ANSWER_KEY_FILE
and putting the results into result.txt on the same folder. The running time
will also be added to result.txt.
The program ends with displaying the temporary folder.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request