JavaScript Shell HTML Ruby Gherkin
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
features
hooks
lib
views
.editorconfig
.envrc.sample
.eslintignore
.eslintrc
.gitignore
.jshintignore
.jshintrc
.jslintrc
.node-version
.npmignore
.ruby-version
Gemfile
Gruntfile.js
Guardfile-cucumber
Guardfile-lint
README.md
package.json
tests.txt
upstart.conf

README.md

dice - D&D Dice

EXAMPLE

$ dice-cli
2d6
[ 1, 1 ]
1d20
[ 20 ]
1d20
[ 11 ]
...

HOMEPAGE

http://dice.yellosoft.us/

NPM

https://www.npmjs.com/package/dice

INSTALL

$ npm install -g dice

REQUIREMENTS

Optional

DEVELOPMENT

Test

Ensure the example script works as expected:

$ grunt cucumber
Feature: Run example tests

  Scenario: Running example tests            # features/run_example_tests.feature:3
    Given the program has finished           # features/step_definitions/steps.rb:1
    Then the output is correct for each test # features/step_definitions/steps.rb:5

1 scenario (1 passed)
2 steps (2 passed)
0m0.061s

Lint

Keep the code tidy:

$ grunt lint

Spell Check

$ grunt aspelllint

Local CI

Guard can automatically run testing when the code changes:

$ bundle
$ guard -G Guardfile-cucumber
...

Guard can automatically lint when the code changes:

$ bundle
$ guard -G Guardfile-lint
...

Git Hooks

See hooks/.