mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-10 01:10:27 +00:00
Clean subprojects in build.sh clean
This commit is contained in:
parent
a27984f343
commit
73b7c58724
3
build.sh
3
build.sh
@ -78,7 +78,7 @@ dependencies() {
|
|||||||
if [[ $(pip3 show meson; echo $?) == 1 || $(pip3 show mako; echo $?) == 1 ]]; then
|
if [[ $(pip3 show meson; echo $?) == 1 || $(pip3 show mako; echo $?) == 1 ]]; then
|
||||||
$SU_CMD pip3 install 'meson>=0.54' mako
|
$SU_CMD pip3 install 'meson>=0.54' mako
|
||||||
fi
|
fi
|
||||||
if ! which glslangValidator >/dev/null; then
|
if [[ ! -f /usr/local/bin/glslangValidator ]]; then
|
||||||
wget https://github.com/KhronosGroup/glslang/releases/download/SDK-candidate-26-Jul-2020/glslang-master-linux-Release.zip
|
wget https://github.com/KhronosGroup/glslang/releases/download/SDK-candidate-26-Jul-2020/glslang-master-linux-Release.zip
|
||||||
unzip glslang-master-linux-Release.zip bin/glslangValidator
|
unzip glslang-master-linux-Release.zip bin/glslangValidator
|
||||||
$SU_CMD install -m755 bin/glslangValidator /usr/local/bin/
|
$SU_CMD install -m755 bin/glslangValidator /usr/local/bin/
|
||||||
@ -246,6 +246,7 @@ reinstall() {
|
|||||||
|
|
||||||
clean() {
|
clean() {
|
||||||
rm -rf "build"
|
rm -rf "build"
|
||||||
|
rm -rf subprojects/*/
|
||||||
}
|
}
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
Loading…
Reference in New Issue
Block a user