Permalink
Browse files

npm publish

  • Loading branch information...
carlosmarte committed Jun 16, 2013
1 parent 8a10ce8 commit 416f1e6da55466a482fa40aa04519f9699631fc9
Showing 579 changed files with 141,634 additions and 36 deletions.
View
@@ -14,7 +14,6 @@ results
npm-debug.log
-node_modules/
.gitattributes
.npmignore
.DS_Store
View
@@ -24,24 +24,6 @@ module.exports = function(grunt) {
]
};
- //watch
- Config.watch = {
- options: {
- livereload: false
- },
- javascript: {
- files: ['tasks/git_ftp.js','.gitftppass'],
- tasks: ['jshint:javascript']
- }
- };
-
- //git_ftp
- Config.git_ftp = {
- default_options: {
-
- }
- };
-
//Init Task
grunt.initConfig(Config);
@@ -50,17 +32,9 @@ module.exports = function(grunt) {
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
- grunt.loadNpmTasks('grunt-contrib-nodeunit');
- grunt.loadNpmTasks('grunt-contrib-watch');
//Register the default tasks
grunt.registerTask('default',[
'jshint:packages'
]);
-
- //Register the test tasks
- grunt.registerTask('test', [
- 'jshint:javascript','git_ftp'
- ]);
-
};
View
@@ -1,4 +1,48 @@
grunt-git-ftp
=============
+> queries last git commit and FTPs modified files to server
-queries last git commit and FTPs modified files to server
+## Getting Started
+This plugin requires Grunt `~0.4.1`
+
+If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
+
+```shell
+npm install grunt-git-ftp --save-dev
+```
+
+Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
+
+```js
+grunt.loadNpmTasks('grunt-git-ftp');
+```
+
+*This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-less/tree/grunt-0.3-stable).*
+
+## git_ftp task
+_Run this task with the `grunt git_ftp` command._
+
+### Usage Examples
+
+```js
+git_ftp: {
+ development: {
+ options: {
+ 'host_file':'.gitftppass',
+ 'host':'staging'
+ }
+ },
+ production: {
+ options: {
+ 'host_file':'.gitftppass',
+ 'host':'default'
+ }
+ }
+}
+```
+
+---
+
+Task submitted by [Roberto Carlos Marte](http://Carlosmarte.me/)
+
+*This file was generated on Sun Jun 15 2013 11:00:31.*
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 416f1e6

Please sign in to comment.