13 lines
186 B
Bash
13 lines
186 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
build () {
|
||
|
i="$1"
|
||
|
cd "./$dir" || exit
|
||
|
nimble install -y
|
||
|
if [[ $i == "install" ]]; then
|
||
|
cp -v "wmtools" "$HOME/.local/bin/wmtools"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
build $1
|