Page Menu
Home
Search
Configure Global Search
Log In
Files
F8209699
gulp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 11, 6:22 PM
Size
377 B
Mime Type
text/x-shellscript
Expires
Fri, Dec 13, 6:22 PM (1 d, 23 h)
Engine
local-disk
Format
Raw Data
Handle
d6/2e/2a91e841ca75ac1251ef12b81f1a
Attached To
rA Attract
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
"
$@
"
Event Timeline
Log In to Comment