Skip to content

Commit

Permalink
Add handlebars-helper-intl for intl use in handlebars templates
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Dec 13, 2016
1 parent b6dd0f3 commit ae29612
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions bin/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ YUI3_DIR="$VENDOR_DIR/yui3"
YUI3_NOTICE="$YUI3_DIR/YUI3_IN_PLATFORMUIASSETSBUNDLE.txt"
ALLOY_DIR="$VENDOR_DIR/alloy-editor"
ALLOY_NOTICE="$ALLOY_DIR/ALLOY_IN_PLATFORMUIASSETSBUNDLE.txt"
INTL_DIR="$VENDOR_DIR/handlebars-helper-intl"
INTL_NOTICE="$INTL_DIR/INTL_IN_PLATFORMUIASSETSBUNDLE.txt"

CURRENT_BRANCH=`git branch | grep '*' | cut -d ' ' -f 2`
TMP_BRANCH="version_$VERSION"
Expand Down Expand Up @@ -76,6 +78,11 @@ check_process "clean alloy-editor"
echo "This is a customized Alloy version." > $ALLOY_NOTICE
echo "To decrease the size of the bundle, it does not include API docs and lib" >> $ALLOY_NOTICE

echo "# Removing js maps from handlebars-helper-intl"
rm -rf $INTL_DIR/dist/*.map
check_process "clean handlebars-helper-intl"
echo "This is a customized handlebars-helper-intl version." > $INTL_NOTICE
echo "To decrease the size of the bundle, it does not include js maps" >> $INTL_NOTICE

echo "# Creating the custom branch: $TMP_BRANCH"
git checkout -q -b "$TMP_BRANCH" > /dev/null
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"flag-icon-css": "~0.6.4",
"alloy-editor": "liferay/alloy-editor#~1.2.3",
"widget": "http://download.ckeditor.com/widget/releases/widget_4.5.9.zip",
"lineutils": "http://download.ckeditor.com/lineutils/releases/lineutils_4.5.9.zip"
"lineutils": "http://download.ckeditor.com/lineutils/releases/lineutils_4.5.9.zip",
"handlebars-helper-intl": "~1.1.2"
}
}

0 comments on commit ae29612

Please sign in to comment.