Skip to content

Commit

Permalink
boilerplate stuff for Grunt 0.4.x porting
Browse files Browse the repository at this point in the history
  • Loading branch information
thanpolas committed Feb 9, 2013
1 parent ac61cd1 commit 66ca297
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 74 deletions.
18 changes: 18 additions & 0 deletions .editconfig
@@ -0,0 +1,18 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
# Automatically normalize line endings for all text-based files
* text=auto
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,13 @@
# Grunt Closure Tools :: Changelog

## Grunt 0.4.x Versions


## Grunt 0.3.x Versions

- **v0.6.13**, *09 February 2013*
- Plain version bump. Last version to support Grunt 0.3.x

- **v0.6.12**, *12 December 2012*
- fixed issue [#14](https://github.com/thanpolas/grunt-closure-tools/issues/14), when closureBuilder run from a grunt watch task, the root param got lost.
- Internal file/folder structure works by [scottlangendyk](https://github.com/scottlangendyk)
Expand Down
6 changes: 6 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,6 @@
module.exports = function(grunt) {

// Project configuration.
grunt.initConfig({
});
};
13 changes: 0 additions & 13 deletions LICENSE-APACHE2

This file was deleted.

22 changes: 22 additions & 0 deletions LICENSE-MIT
@@ -0,0 +1,22 @@
Copyright (c) 2013 Thanasis Polychronakis

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.
17 changes: 9 additions & 8 deletions README.md
Expand Up @@ -6,14 +6,6 @@ Google Closure Tools for [grunt](https://github.com/gruntjs/grunt):
* **[Builder](https://developers.google.com/closure/library/docs/closurebuilder)** Concatenate your JS codebase to a single file, optionally also compile it
* **[DepsWriter](https://developers.google.com/closure/library/docs/depswriter)** Calculate dependencies of your JS files and generate `deps.js`


## Warning - Unmaintained Version

This is the last version that is compatible with Grunt 0.3.x

From here on all new development will happen for the 0.4.x grunt version.


## Getting Started
Install the module with: `npm install grunt-closure-tools`

Expand All @@ -27,6 +19,15 @@ Then register the task by adding the following line to your `grunt.js`:
grunt.loadNpmTasks('grunt-closure-tools');
```

#### Grunt 0.3.x compatibility

To get a grunt 0.3.x. compatible version please install with:
```shell
npm install grunt-closure-tools@0.6.13
```

The Grunt 0.3.x repository can be found frozen [in this branch](https://github.com/thanpolas/grunt-closure-tools/tree/grunt-0.3.x-STABLE).

## Documentation

All three tasks (compiler, builder and depswriter) are [multitasks](https://github.com/cowboy/grunt/blob/master/docs/types_of_tasks.md), so you can specify several targets depending on the complexity of your project.
Expand Down
38 changes: 0 additions & 38 deletions grunt.js

This file was deleted.

23 changes: 8 additions & 15 deletions package.json
@@ -1,33 +1,26 @@
{
"name": "grunt-closure-tools",
"description": "Google Closure Library Tools for grunt, Compiler, DepsWriter, Builder.",
"version": "0.6.13",
"version": "0.7.0",
"homepage": "https://github.com/thanpolas/grunt-closure-tools",

"author": {
"name": "Thanasis Polychronakis",
"email": "thanpolas@gmail.com",
"url": "http://twitter.com/thanpolas"
},
"repository": {
"type": "git",
"url": "https://github.com/thanpolas/grunt-closure-tools.git"
},
"bugs": {
"url": "https://github.com/thanpolas/grunt-closure-tools/issues"
},
"licenses": [
{
"type": "APACHE2",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"repository": {"type": "git", "url": "https://github.com/thanpolas/grunt-closure-tools.git"},
"bugs": {"url": "https://github.com/thanpolas/grunt-closure-tools/issues"},
"licenses": [{"type": "MIT", "url": "https://github.com/thanpolas/deppy/blob/master/LICENSE-MIT"}],

"main": "grunt.js",
"engines": {
"node": "*"
"node": ">=0.8.0"
},
"scripts": {
"test": "grunt test"
},

"devDependencies": {
"grunt": "~0.3.16"
},
Expand Down

0 comments on commit 66ca297

Please sign in to comment.