1.0.8 • Published 4 years ago

gulp-sma v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

gulp-sma npm version

Sma plugin for Gulp.

Install

npm install gulp-sma --save-dev

Basic Usage

var gulp = require('gulp');
var gulpSma = require('gulp-sma');

gulp.task('sma', () => {
  return gulp.src('./src/scripts/**/*.sma')
    .pipe(gulpSma({
        compiler: path.join(__dirname, './compiler/amxxpc'),
        dest: path.join(__dirname, './dist/addons/amxmodx/plugins'),
        includeDir: path.join(__dirname, './src/include'),
    }))
    .pipe(gulp.dest('./dist/addons/amxmodx/scripting'))
});

gulp.task('sma:watch', () => {
  gulp.watch('./src/scripts/**/*.sma', ['sma']);
});

Options

compiler - path to amxmodx compiler binary.

dest - path for compiled plugin.

includeDir - path to includes.

ignoreSubDirs - save structure of source folders (true by default).

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago