Skip to content

Commit

Permalink
remove grunt less (error), document grunt tasks, make a link for dist…
Browse files Browse the repository at this point in the history
…/tryton-sao.min.css
  • Loading branch information
semarie committed Sep 10, 2020
1 parent 1b6c03f commit e3297f9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,16 @@ echo '[+] running npm install' >&2
npm install --production >&2

echo '[+] running grunt' >&2
npx grunt dev uglify less >&2
# dev:
# dist/tryton-sao.js
# src/sao.less -> dist/tryton-sao.css
# uglify:
# dist/tryton-sao.js -> dist/tryton-sao.min.js
npx grunt dev uglify >&2

if [ ! -e "dist/tryton-sao.min.css" ] ; then
ln -s "dist/tryton-sao.css" "dist/tryton-sao.min.css"
fi

(
if [ "${include_sao}" = "true" ]; then
Expand Down

0 comments on commit e3297f9

Please sign in to comment.