summaryrefslogtreecommitdiffstats
path: root/node_modules/node-sass/src/libsass/version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/node-sass/src/libsass/version.sh')
-rwxr-xr-xnode_modules/node-sass/src/libsass/version.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/node-sass/src/libsass/version.sh b/node_modules/node-sass/src/libsass/version.sh
new file mode 100755
index 0000000..281de74
--- /dev/null
+++ b/node_modules/node-sass/src/libsass/version.sh
@@ -0,0 +1,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