Comments (7)
Did anyone ever make a gulp init command or a useful help command? We can get rid of the touch
command from the example if the CLI had a really helpful view.
from gulpjs.github.io.
Yeah, I was pretty sure echo wasn't a "proper" echo in windows. --init
or something) to make this more cross-platform friendly.
from gulpjs.github.io.
Well I haven't come up with any great options. There's the type
command that's almost perfect, but the usage is different between OS's. The windows command is type NUL >> gulpfile.js
, and nix is type >> gulpfile.js
. So that still requires detecting what the user is running with javascript.
We could do it in node, which they need to run gulp in the first place, but it's dirty. node -e require("fs").writeFileSync("./gulpfile.js", "")
, so I don't think that's viable, unless there's a more succinct way.
from gulpjs.github.io.
I don't like many of those solutions. Could we add a BASH comment saying *nix only
on that line or something? Or maybe or create this file
?
from gulpjs.github.io.
Tried both, I think I like or create this file
better with the font. Sorry for the quality, kap decided not to work today.
or create this file:
http://i.giphy.com/26gs8CWLCrD3xYByw.gif
*nix only
http://i.giphy.com/l3q2PPDNhJLYushZS.gif
from gulpjs.github.io.
Is echo "" > gulpfile.js
or echo > gulpfile.js
cross platform?
from gulpjs.github.io.
Both commands leave some junk text in the file on windows. The first contains ""
and the second ECHO is on.
from gulpjs.github.io.
Related Issues (20)
- Plugins page: Actually handle errors
- Plugin page: Show vinyl adapters
- Plugin page: Hide navbar search HOT 2
- Ensure navbar searchbox has font-size 16px or greater
- Docusaurus: Unable to upgrade to newer alphas HOT 5
- Automate company sponsorships
- "Copy to clipboard" button can't be seen on code snippets HOT 5
- In Safari, when exiting the search box, the page jumps to the bottom HOT 6
- Update nofollow links to new standard
- Wrong module syntax on gulpjs.com / Named export 'dest' not found. HOT 3
- Sip for "CLI configuration file support"
- Create a section of the public repo to suggest new Sips topics, which anyone can write
- Create a section of which articles need screenshot updating with version releases
- Add Sip guidelines
- Write Sip explaining `interpret`
- Blog post explaining the deprecation of gulp-util HOT 1
- Sip for top-level `watch()`
- Sip for streams HOT 1
- Sip for "Task Custom Metadata" HOT 1
- Docusaurus v2 has been released! HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulpjs.github.io.