Skip to content

AledLewis/gulp-clobber

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-clobber

gulp-clobber is a gulp plugin designed to be used with gulp-watch that detects file changes and promotes these files to an Oracle database using ScriptRunner.

Watch a video demo here.

Installation

Usage

In gulpfile.js:

var gulp = require('gulp'),
    watch = require('gulp-watch'),
    clobber = require('gulp-clobber');

gulp.task('clobber', function() {
  gulp.watch('./Fox5Modules/**/*.xml').on('change', clobber);
  gulp.watch('./FoxModules/**/*.xml').on('change', clobber);
  gulp.watch('./ReportDefinitions/**').on('change', clobber);
});

In gulp-clobber.json:

{
  "scriptrunner": {
    "jdbc": "jdbc:oracle:thin:@host:1521:sid",
    "user": "",
    "password": ""
  }
}

Then run gulp clobber from the command line.

Project Setup

Currently gulp-clobber assumes that you project is set up in the following way. Please note the location of ScriptRunner.jar

CodeSource
    ...
    Fox5Modules
    FoxModules
    gulp-clobber.json
    gulpfile.js
    package.json
    ReportDefinitions
    ...
    ScriptRunner
        Loaders
        Utils
        builder.cfg
    ScriptRunner.jar

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.1%
  • PLSQL 8.9%