summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-31 15:08:31 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-10-31 16:02:41 -0400
commit080c185ea1b05dd673076e385cc659ecc46c697b (patch)
treea5bd584f2a37651679ff05aaee8beec23167da37 /configure
parent86230821e4da9605f5ac4a53d011835d37fc73e4 (diff)
downloadqtlocation-mapboxgl-080c185ea1b05dd673076e385cc659ecc46c697b.tar.gz
remove dependency on node
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure b/configure
index afb94d4795..edda1c1fa1 100755
--- a/configure
+++ b/configure
@@ -11,22 +11,6 @@ function finish {
}
trap finish EXIT
-# Install node
-if [[ ! -d ~/.nvm ]]; then
- git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
-fi
-set +u
-. ~/.nvm/nvm.sh
-if [ ! `nvm use 0.10 > /dev/null; echo $?` = 0 ]; then
- >&2 echo -en "\033[1m\033[32m* "
- nvm install 0.10
- >&2 echo -en "\033[0m";
-else
- >&2 echo -en "\033[1m\033[32m* "
- nvm use 0.10
- >&2 echo -en "\033[0m";
-fi
-
# Install mason
if [[ ! -d ~/.mason ]]; then
>&2 echo -e "\033[1m\033[32m* Installing Mason\033[0m"
@@ -56,14 +40,8 @@ esac
function abort { >&2 echo -e "\033[1m\033[31m$1\033[0m"; exit 1; }
-NODE=`which node || abort 'Cannot find node'`
-NPM=`which npm || abort 'Cannot find npm'`
PYTHON=`which python || abort 'Cannot find python'`
->&2 echo -en "\033[1m\033[32m* Using npm "
->&2 ${NPM} --version
->&2 echo -en "\033[0m";
-
>&2 echo -en "\033[1m\033[32m* Using "
>&2 ${PYTHON} --version
>&2 echo -en "\033[0m";
@@ -84,8 +62,6 @@ CONFIG="# Do not edit. Generated by the configure script.
'libraries': []
},
'variables': {
- 'node': '${NODE}',
- 'npm': '${NPM}',
'python': '${PYTHON}',
"