Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jayin/gulp-copyright2

Add the copyright in you source file.
https://github.com/jayin/gulp-copyright2

Last synced: 10 days ago
JSON representation

Add the copyright in you source file.

Awesome Lists containing this project

README

        

### gulp-copyright2
> Add the copyright in you source file.

### install

```shell
$ npm install --save-dev gulp-copyright2
```

### Usage

```javascript
gulp = require 'gulp'
coffee = require 'gulp-coffee'
copyright = require 'gulp-copyright2'

gulp.task 'example', ->

gulp.src ['./example/src/**/*.coffee']
.pipe coffee()
.pipe copyright
owner: 'Jack Tang'
license: 'Apache'
year: 2014
.pipe gulp.dest('example/dest')

gulp.src ['./example/src/**/*.js','./example/src/**/*.css']
.pipe copyright
owner: 'Jack Tang'
license: 'MIT'
year: 2015
.pipe gulp.dest('example/dest')

gulp.task 'default', ['example']
```