-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Wrapper of gulp command that reads gulpfile.wisp #1
Comments
Such that you could write the example usage from the README as something like... (let [wisp (requires "gulp-wisp")]
(.task gulp
"wisp"
(fn []
(.pipe
(.pipe
(.src gulp "./src/*.wisp")
wisp)
(.dest gulp "./lib"))))) in a file called Would the new command exposed in |
Yes, also you can define macro for it.
For coffeescript they had coffee-gulp script for that use case. |
Thanks for the example! I'll see what I can do... |
It looks like things have changed substantially in the gulp ecosystem since coffee-gulp was authored. From my reading and debugging it appears that the simple approach from that module is now impossible given the gulp internals. To make a long story short Wisp needs to be added to node-interpret to get the behavior you requested (sans macros). I have opened a pull request that will hopefully make that happen sooner rather than later. |
Thanks a lot!!! |
I'm happy to help, thanks for the idea @ikeji! |
Can you add wrapper command that uses gulpfile.wisp instead of gulpfile.js?
The text was updated successfully, but these errors were encountered: