Page Menu
Home
Search
Configure Global Search
Log In
Files
F14205424
gulp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
377 B
Subscribers
None
gulp
View Options
#!/bin/bash -ex
GULP
=
./node_modules/.bin/gulp
function
install
()
{
npm install
touch
$GULP
# installer doesn't always touch this after a build, so we do.
}
# Rebuild Gulp if missing or outdated.
[
-e
$GULP
]
||
install
[
gulpfile.js -nt
$GULP
]
&&
install
if
[
"
$1
"
==
"watch"
]
;
then
# Treat "gulp watch" as "gulp && gulp watch"
$GULP
fi
exec
$GULP
"
$@
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Jan 30, 7:37 AM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
97/84/0135c7b364a2a1ea030091f8909c
Attached To
rA Attract
Event Timeline
Log In to Comment