Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5980995
update-jquery-ime.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
529 B
Referenced Files
None
Subscribers
None
update-jquery-ime.sh
View Options
#!/bin/bash
BASEDIR
=
$(
dirname
"
$0
"
)
BASEDIR
=
"
$BASEDIR
/.."
DEST
=
"
$BASEDIR
/lib/jquery.ime"
CLONEDIR
=
"
$BASEDIR
/vendor/jquery.ime"
UPSTREAM
=
"https://github.com/wikimedia/jquery.ime.git"
echo
"Getting latest jquery.ime from
$UPSTREAM
"
if
[
-d
"
$CLONEDIR
"
]
;
then
pushd
"
$CLONEDIR
"
git
pull
popd
else
git
clone
"
$UPSTREAM
"
"
$CLONEDIR
"
fi
pushd
"
$CLONEDIR
"
npm
install
./node_modules/.bin/grunt
copy
concat
popd
rm
-rf
"
$DEST
"
/*
cp
-R
"
$CLONEDIR
"
/dist/jquery.ime/
{
images,css,rules,jquery.ime.js
}
"
$CLONEDIR
"
/*LICENSE
"
$DEST
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Oct 3, 21:39 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
05/6f/3cdbf5ad7c8f7337e5bcbcc860f7
Default Alt Text
update-jquery-ime.sh (529 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment