-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from kate2753/master
Initial step to switch to grunt build process.
- Loading branch information
Showing
31 changed files
with
503 additions
and
4,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
tmp | ||
test | ||
archive | ||
_SpecRunner.html | ||
gruntfile.js | ||
.* | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Oops, something went wrong.