example_calculator_cr
example_calculator_cr
Write calculations using functions and get the results. (See OBJECTIVES.md for details.)
This is a Crystal-lang implementation.
For the Crystal-lang implementation, see: https://github.com/drhuffman12/example_calculator_rb
Installation
-
Add the dependency to your
shard.yml
:dependencies: example_calculator_cr: github: your-github-user/example_calculator_cr
-
Run
shards install
Usage
To use in your Crystal code, add the following:
require "example_calculator_cr"
Development
Clone the repo
cd $SOME_PARENT_FOLDER
git clone https://github.com/drhuffman12/example_calculator_cr.git
cd example_calculator_cr
Pre-merge checks
cd $SOME_PARENT_FOLDER/example_calculator_cr
bin/pre_merge_checks
.. and then open qa/index.html
in your browser to view a page with links to the tests/coverage/style/etc report pages. (To re-run these individually, see contents of bin/pre_merge_checks
.)
Merging to master
Make sure the Pre-merge checks all pass before merging your code to the master branch.
Contributing
- Fork it (https://github.com/your-github-user/example_calculator_cr/fork)
- 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 a new Pull Request
Contributors
- your-name-here - creator and maintainer
Repository
example_calculator_cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- over 5 years ago
- April 16, 2019
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 10:48:59 GMT
Languages