Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 features
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .jshintignore
Octocat-spinner-32 .jshintrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Guardfile-cucumber
Octocat-spinner-32 Guardfile-lint
Octocat-spinner-32 README.md
Octocat-spinner-32 cli.js
Octocat-spinner-32 package.json
Octocat-spinner-32 server.js
Octocat-spinner-32 upstart.conf
Octocat-spinner-32 wc.js
README.md

wc - Word Count

INSTALL

$ npm install wc

EXAMPLE

$ npm install
$ npm test

> wc@0.0.2 test /Users/andrew/Desktop/src/node-wc
> node cli.js < cli.js

Lines: 26
Words: 93
Characters: 504

HOMEPAGE

http://wc.yellosoft.us/

REQUIREMENTS

Optional

DEVELOPMENT

Test

Ensure the example script works as expected:

$ bundle
$ 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:

$ npm run-script lint

Spell Check

$ 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
...
Something went wrong with that request. Please try again.