1
0
mirror of synced 2024-11-24 22:06:07 +03:00

added bower component.json. fixes #418

This commit is contained in:
Igor Vaynberg 2012-09-17 19:10:00 -07:00
parent f7e78f6ed9
commit c098f51905
2 changed files with 9 additions and 0 deletions

8
component.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "select2",
"version": "latest",
"main": ["select2.js", "select2.css", "select2.png", "select2x2.png", "spinner.gif"],
"dependencies": {
"jquery": "~1.4.4"
}
}

View File

@ -29,6 +29,7 @@ echo "Tokenizing..."
find . -name "$js" | xargs -I{} sed -e "$tokens" -i "" {} find . -name "$js" | xargs -I{} sed -e "$tokens" -i "" {}
find . -name "$css" | xargs -I{} sed -e "$tokens" -i "" {} find . -name "$css" | xargs -I{} sed -e "$tokens" -i "" {}
sed -e "s/latest/$ver/g" -i "" component.json
git add "$js" git add "$js"
git add "$css" git add "$css"