diff options
| author | Simon Lejeune <sle@openerp.com> | 2015-08-07 17:23:24 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2015-08-07 18:18:33 +0200 |
| commit | 7c05b7965d89d7b9deb8ef98682962fb020e296c (patch) | |
| tree | 55f97c89adf08b326c37df98646b8ef8534913b8 /setup | |
| parent | f3dc8010809700ff2b64818ed11e85bacf46ff73 (diff) | |
[REF] packaging: windows: use less.js-windows
Fixes #7951
Diffstat (limited to 'setup')
| -rwxr-xr-x | setup/win32/static/getfiles.sh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/setup/win32/static/getfiles.sh b/setup/win32/static/getfiles.sh index 5b15c103197..a2095e2c349 100755 --- a/setup/win32/static/getfiles.sh +++ b/setup/win32/static/getfiles.sh @@ -2,7 +2,7 @@ # apt-get install p7zip-full set -e -mkdir -p wkhtmltopdf less/node_modules +mkdir -p wkhtmltopdf less TEMPDIR=`mktemp -d -t odoo_windows_build_XXXX` function cleanup { rm -rf $TEMPDIR @@ -18,11 +18,8 @@ wget -q -P $TEMPDIR http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0. cp $TEMPDIR/bin/wkhtmltopdf.exe ./wkhtmltopdf # less -wget -q -P ./less http://nodejs.org/dist/latest/node.exe -echo '"%~dp0\node.exe" "%~dp0\.\node_modules\less.js\bin\lessc" %*' > ./less/lessc.cmd -pushd ./less/node_modules -wget -q https://github.com/less/less.js/archive/v2.0.0.tar.gz -O - | tar xz && mv less.js-2.0.0 less.js -wget -q https://github.com/then/promise/archive/6.0.1.tar.gz -O - | tar xz && mv promise-6.0.1 promise -wget -q https://github.com/kriskowal/asap/archive/v2.0.0.tar.gz -O - | tar xz && mv asap-2.0.0 asap -wget -q -P $TEMPDIR https://github.com/less/less-plugin-clean-css/archive/clean-css-3.zip -unzip $TEMPDIR/clean-css-3.zip && mv less-plugin-clean-css-clean-css-3 less-plugin-clean-css-clean-css +pushd less +wget -q https://github.com/duncansmart/less.js-windows/releases/download/v2.5.1/less.js-windows-v2.5.1a.zip +unzip less.js-windows-v2.5.1a.zip +rm less.js-windows-v2.5.1a.zip + |
