diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-03-18 15:11:16 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-03-18 15:11:16 +0100 |
commit | ffe4eb7091345c878d4209b2d1bb35ad1ba1ff9b (patch) | |
tree | 63c69e9a9f4a02173f9b786eab32d70137935ab9 /configure | |
parent | 291833f35cc401d6c4e8334eca2e173dc8351e33 (diff) |
test for npm in configure script
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 000000000..c57463ef0 --- /dev/null +++ b/configure @@ -0,0 +1,6 @@ +#!/bin/bash + +if ! npm --version >/dev/null; then + echo 'Node Package Manager (npm) missing' + exit 1 +fi |