Gulp & SVN

NPM

This isn't a full SVN solution, it's only a interface to work on gulp.js whith SVN. If you have not installed a client svn, you need install one.

Find the respective client for your OS with install instructions here:

Apache Subversion Binary Packages.

Install

$ npm install --save-dev gulp-asvn

Usage

var gulp = require('gulp');
var svn  = require('gulp-asvn');

var svnConf = {
    svnDir :'./app',
    destDir : './export',
}

gulp.task('checkout', function() {
        return svn.checkout (svnConf.svnDir, function(err){
                if(err) throw err;
    });
});

gulp.task('add', function() {
         return svn.add (svnConf.svnDir, function(err){
                if(err) throw err;
    });
});

gulp.task('commit', function() {
         return svn.commit (svnConf.svnDir, function(err){
                if(err) throw err;
    });
});

Run Gulp Tasks

$ gulp checkout
$ gulp add
$ gulp commit

License

MIT. See LICENSE.md for details.

Comments

Markdown Test

Unordered list

Ordered list

  1. First
  2. Second
  3. Third

Horizontal line


Links

Link text is great.

Code block with syntax highlighting

console.log('I am a string');
var MyBackboneView = Backbone.View.extend({});

Inline code

Here is some inline code

Text stlying

Bold

Italic

Strikethough

Block Quote

The computer is the most remarkable tool that we've ever come up with. It's the equivalent of a bicycle for our minds.

Steve Jobs

Image

Bear Triangimal Bear Triangimal by Pasquale D'Silva

Comments