Skip to content

Commit

Permalink
Merge pull request #62 from kate2753/master
Browse files Browse the repository at this point in the history
Initial step to switch to grunt build process.
  • Loading branch information
prashn64 committed Jan 25, 2014
2 parents d3f0e8e + 9e28c8c commit 26fba74
Show file tree
Hide file tree
Showing 31 changed files with 503 additions and 4,354 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/node_modules
node_modules
*.DS_Store
.*.sw[a-z]
*.un~
Session.vim
.netrwhist
.grunt
_SpecRunner.html
tmp
.idea
*.iml
22 changes: 22 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"sub": true,
"undef": true,
"unused": false,
"boss": true,
"eqnull": true,
"browser": true,
"evil": true,
"globals": {
"dust": true,
"require": true,
"module": true,
"console": true,
"__dirname": true
}
}
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tmp
test
archive
_SpecRunner.html
gruntfile.js
.*
*.iml
17 changes: 15 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
language: node_js
node_js:
- 0.6
- 0.8
- "0.10"
- "0.8"
env:
- TEST="all"
- TEST="node"
matrix:
exclude:
- node_js: "0.10"
env: TEST="node"
- node_js: "0.8"
env: TEST="all"
notifications:
email:
- [email protected]
- [email protected]
- [email protected]
before_install:
- npm install -g grunt-cli
script:
- "[ $TEST = 'all' ] && grunt test || grunt testNode"
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2010 Aleksander Williams

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
62 changes: 0 additions & 62 deletions Makefile

This file was deleted.

41 changes: 38 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,42 @@
Dust [![Build Status](https://secure.travis-ci.org/linkedin/dustjs-helpers.png)](http://travis-ci.org/linkedin/dustjs-helpers)
Dust Helpers [![Build Status](https://secure.travis-ci.org/linkedin/dustjs-helpers.png)](http://travis-ci.org/linkedin/dustjs-helpers)
====

Additional functionality for [dustjs-linkedin](http://linkedin.github.com/dustjs/) package

This is the LinkedIn helpers repository for Dust.
Read more here : <https://github.com/linkedin/dustjs-helpers>

Read more here : <http://linkedin.github.com/dustjs/>
## Getting Started
A quick tutorial for how to use Dust <https://github.com/linkedin/dustjs/wiki/Dust-Tutorial>

## Contributing
* Open https://github.com/linkedin/dustjs-helpers in a browser and fork it. Then clone your fork:
```
git clone https://github.com/<your github account>/dustjs-helpers dustjs-helpers
cd dustjs-helpers
```
* Set up a branch for what you are working on
```
git checkout -b myBranchName
```
* Install Grunt-cli, it lets you run `grunt` commands. For more information see <http://gruntjs.com/getting-started>
```
npm install -g grunt-cli
```
* Install node dependencies needed for development in this project
```
npm install
```
* Make your changes on the branch and run jshint\tests to make sure changes are OK
```
grunt test
```
* Commit your changes and push them to github
```
git add .
git commit -m "My changes to dustjs-helpers repo"
git push origin myBranchName
```
* Go to github and post a pull request, see <https://help.github.com/articles/creating-a-pull-request>

## Coverage report
Running `grunt test` or `grunt testPhantom` generates coverage report under `tmp/coverage` folder. Open `index.html` file in a browser to view coverage
19 changes: 19 additions & 0 deletions dist/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2010 Aleksander Williams

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading

0 comments on commit 26fba74

Please sign in to comment.