(dist) fix version extraction in Makefile
This commit is contained in:
parent
3a28c3a6a5
commit
1146363b8e
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ benchmark:
|
|||||||
SRC = lib/less
|
SRC = lib/less
|
||||||
HEADER = build/header.js
|
HEADER = build/header.js
|
||||||
VERSION = `cat package.json | grep version \
|
VERSION = `cat package.json | grep version \
|
||||||
| grep -o '[0-9]\.[0-9]\.[0-9]'`
|
| grep -o '[0-9]\.[0-9]\.[0-9]\+'`
|
||||||
DIST = dist/less-${VERSION}.js
|
DIST = dist/less-${VERSION}.js
|
||||||
DIST_MIN = dist/less-${VERSION}.min.js
|
DIST_MIN = dist/less-${VERSION}.min.js
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user