Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-svn

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-svn

SVN plugin for gulp (gulpjs.com)

  • 1.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-59.26%
Maintainers
1
Weekly downloads
 
Created
Source

#gulp-svn NPM version

Packagegulp-svn
DescriptionSVN plugin for Gulp
Node Version>= 0.11.12
Gulp Version3.x

Usage

Install

npm install gulp-svn --save

Example

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

// Run svn add
gulp.task('add', function(){
    return svn.add('/file.js');
}

// Run svn add with error
gulp.task('add', function(){
    return svn.add('./file.js', function(err){
        if(err) throw err;
    });
});

// Run svn add with options
gulp.task('add', function(){
    return svn.add('./file.js', {args: '--force'}, function(err){
        if(err) throw err;
    });
});

// Run svn commit
gulp.task('commit', function(){
    return svn.commit('Initial commit', function(err){
        if(err) throw err;
    });
});

// Run svn tag
gulp.task('tag', function(){
    svn.tag('version-0.0.1', 'Tagged commit', function (err){
        if(err) {
            throw err;
        }
    });
});

// Run gulp
gulp.task('default',['add', 'commit']);

Keywords

FAQs

Package last updated on 30 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc