Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jayin/gulp-copyright2
- Owner: Jayin
- Created: 2015-04-13T06:45:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-13T06:51:43.000Z (over 9 years ago)
- Last Synced: 2024-10-05T18:07:04.025Z (about 1 month ago)
- Language: CoffeeScript
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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']
```