Blame view

node_modules/node-sass/src/libsass/version.sh 300 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
  if test "x$LIBSASS_VERSION" = "x"; then
    LIBSASS_VERSION=`git describe --abbrev=4 --dirty --always --tags 2>/dev/null`
  fi
  if test "x$LIBSASS_VERSION" = "x"; then
    LIBSASS_VERSION=`cat VERSION 2>/dev/null`
  fi
  if test "x$LIBSASS_VERSION" = "x"; then
    LIBSASS_VERSION="[na]"
  fi
  echo $LIBSASS_VERSION