crackle_pop

Version, currently master branch1 version
  • master branchlatestAug 24, 2021

github.com/dukenguyenxyz/crystal-crackle_pop

CracklePop in Crystal

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crackle_pop:
    github: dukenguyenxyz/crystal-crackle_pop
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Duke Nguyen
Target
  • crackle_pop from src/crackle_pop.cr

Dependencies

This version declares no dependencies.

README

crackle_pop

A program that prints out the numbers 1 to 100 (inclusive). If the number is divisible by 3, print Crackle instead of the number. If it's divisible by 5, print Pop. If it's divisible by both 3 and 5, print CracklePop.

Usage

Run:

./bin/crackle_pop

Development

To build in ./bin, run:

shards build --production

Contributing

  1. Fork it (https://github.com/dukeraphaelng/crackle_pop/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors