Skip to content

Commit

Permalink
it's VERSIONISH for gyp. meh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Jun 12, 2012
1 parent cc9a7ac commit 5a552fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -263,7 +263,7 @@ tarball:
-e 's/LUAJIT_VERSION=".*/LUAJIT_VERSION=\"${LUAJIT_VERSION}\"'\'',/' \
-e 's/UV_VERSION=".*/UV_VERSION=\"${UV_VERSION}\"'\'',/' \
-e 's/HTTP_VERSION=".*/HTTP_VERSION=\"${HTTP_VERSION}\"'\'',/' \
-e 's/YAJL_VERSION=".*/YAJL_VERSION=\"${YAJL_VERSION}\"'\'',/' < ${DIST_FOLDER}/luvit.gyp > ${DIST_FOLDER}/luvit.gyp.patched
-e 's/YAJL_VERSIONISH=".*/YAJL_VERSIONISH=\"${YAJL_VERSION}\"'\'',/' < ${DIST_FOLDER}/luvit.gyp > ${DIST_FOLDER}/luvit.gyp.patched
mv ${DIST_FOLDER}/luvit.gyp.patched ${DIST_FOLDER}/luvit.gyp
tar -czf ${DIST_FILE} -C ${DIST_DIR}/${VERSION} ${DIST_NAME}
rm -rf ${DIST_FOLDER}
Expand Down
2 changes: 1 addition & 1 deletion luvit.gyp
Expand Up @@ -92,7 +92,7 @@
'HTTP_VERSION="<!(git --git-dir deps/http-parser/.git describe --tags)"',
'UV_VERSION="<!(git --git-dir deps/uv/.git describe --all --tags --always --long)"',
'LUAJIT_VERSION="<!(git --git-dir deps/luajit/.git describe --tags)"',
'YAJL_VERSION="<!(git --git-dir deps/yajl/.git describe --tags)"',
'YAJL_VERSIONISH="<!(git --git-dir deps/yajl/.git describe --tags)"',
'BUNDLE=1',
],
'include_dirs': [
Expand Down

0 comments on commit 5a552fb

Please sign in to comment.