Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript HTML Shell Ruby ApacheConf
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
features
hooks
lib
views
.editorconfig
.eslintignore
.eslintrc
.gitignore
.jshintignore
.jshintrc
.jslintrc
Gemfile
Gruntfile.js
Guardfile-cucumber
Guardfile-lint
README.md
package.json
upstart.conf

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.