Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript HTML Shell Ruby Cucumber
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin jslint bin/
features rspec
hooks hooks
lib eslint
views mustache
.editorconfig update editorconfig
.eslintignore eslint
.eslintrc editorconfig
.gitignore move code to lib/ and bin/
.jshintignore grunt and lili
.jshintrc editorconfig
.jslintrc jslint
.npmignore exclude development files from npm package
Gemfile grunt and lili
Gruntfile.js npm idioms
Guardfile-cucumber regex
Guardfile-lint regex
README.md actual example
package.json editorconfig
upstart.conf editorconfig

README.md

wc - Word Count

EXAMPLE

$ wc-cli < `which wc-cli`
Lines: 26
Words: 93
Characters: 509

HOMEPAGE

http://wc.yellosoft.us/

NPM

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

INSTALL

$ npm install [-g] wc

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.060s

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/.

Something went wrong with that request. Please try again.