Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kazu69/using-gulpcoffee
Using coffee-script for gulpfile
https://github.com/kazu69/using-gulpcoffee
Last synced: 19 days ago
JSON representation
Using coffee-script for gulpfile
- Host: GitHub
- URL: https://github.com/kazu69/using-gulpcoffee
- Owner: kazu69
- Created: 2014-01-27T07:03:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-03T09:23:30.000Z (almost 11 years ago)
- Last Synced: 2023-03-23T22:15:17.304Z (over 1 year ago)
- Language: CoffeeScript
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## gulpfile.coffeeを使う
[using-coffee-script-for-gulpfile](https://github.com/gulpjs/gulp/blob/master/docs/recipes/using-coffee-script-for-gulpfile.md)
---
### コマンドオプションを指定する方法
```
gulp --require coffee-script/register
```gulpfile.coffee を設定して読み込んでタスクを実行する。
```.zshrc```などに```alias gulp=gulp --require coffee-script```を追加しておくと便利
---
### gulpfile.jsから実行するする方法
```shell
gulp
```で通常通り```gulpfile.js```実行して、gulpfile.coffeeを読込みタスクを実行させる