mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
20 lines
296 B
Bash
20 lines
296 B
Bash
#!/usr/bin/env bash
|
|
|
|
# 装载其它库
|
|
source ../lib/nodejs.sh
|
|
|
|
# ------------------------------------------------------------------------------
|
|
ROOT=$(pwd)
|
|
|
|
path=${ROOT}
|
|
if [[ $1 ]]; then
|
|
path=$1
|
|
fi
|
|
|
|
version=10.15.0
|
|
if [[ $2 ]]; then
|
|
version=$2
|
|
fi
|
|
|
|
buildNodejsProject ${path} ${version}
|