gulp-xrm

Gulp build task to continuously scaffold an xrm platform

Usage no npm install needed!

<script type="module">
  import gulpXrm from 'https://cdn.skypack.dev/gulp-xrm';
</script>

README

gulp-xrm v0.1.0

Gulp build task to continuously scaffold an xrm platform

Install

npm install gulp-xrm --save-dev

Basic Usage

Something like this will compile your Xrm files:

'use strict';

var gulp = require('gulp');
var gulpXrm = require('gulp-xrm');

gulp.task('xrm', function () {
  return gulp.src('./xrm/**/*.js')
    .pipe(gulpXrm().on('error', xrm.logError));
});

gulp.task('xrm:watch', function () {
  gulp.watch('./xrm/**/*.js', ['xrm']);
});

xrm task

Run this task with the gulp xrm command.

Task targets, files and options may be specified according to the gulp Configuring tasks guide.

Options

This task primarily scaffolds a xrm platform. Options described below.

option1

Type: Boolean Object
Default: {}

Turn on or off mangling with default options. If an Object is specified, it is passed directly to ast.mangle_names() and ast.compute_char_frequency() (mimicking command line behavior). View all options here.

option2

Type: Boolean Object
Default: {}

Release History

  • 2015-06-01 v0.1.0 Work in progress, not yet officially released.