-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup_toolchain.sh
More file actions
executable file
·25 lines (24 loc) · 759 Bytes
/
setup_toolchain.sh
File metadata and controls
executable file
·25 lines (24 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# CPPaste4
# Copyright (c) 2015 - 2021 Sindastra <https://github.com/sindastra>
# All rights reserved.
#
# The above copyright notice and this notice shall be included in all
# copies or substantial portions of the Software.
#
# See LICENSE file for more info.
#
# @author Sindastra <https://github.com/sindastra>
# @copyright (c) 2015 - 2021 Sindastra <https://github.com/sindastra>
# Set up yuicompressor
if [ -f "toolchain/yuicompressor-2.4.8.jar" ]; then
echo yuicompressor already downloaded
else
cd toolchain
if [ ! -f yuicompressor-2.4.8.zip ]; then
wget https://github.com/yui/yuicompressor/releases/download/v2.4.8/yuicompressor-2.4.8.zip
fi
unzip yuicompressor-2.4.8.zip
rm -f yuicompressor-2.4.8.zip
fi