~aleteoryx/muditaos

ref: 0e1ca0983ba7c635b4aba1f86ac25e641b9dc9c4 muditaos/config/common_scripsts_lib -rwxr-xr-x 592 bytes
0e1ca098 — Marcin Smoczyński Merge commit 'c7dd6b399' into stable 5 years ago
                                                                                
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
26
27
#!/bin/bash

RED='\e[38;2;255;13;0m'
YELLOW="\e[38;2;255;232;0m"
GREEN="\e[38;2;0;222;27m"
ORANGE="\e[38;2;255;100;0m"

OK="${GREEN}OK!\e[0m"
ERROR="${RED}Error!\e[0m"
FIXED="${YELLOW}Fixed!\e[0m"

function printVar(){
    echo "$1: '${!1}'"
}

function getArmCC() {
    #download file to current directory
    wget --no-verbose --show-progress -O ${ARM_GCC_PKG} ${ARM_GCC_SOURCE_LINK}
}

function getCMake() {
    wget --no-verbose --show-progress -O ${CMAKE_PKG} ${CMAKE_SOURCE_LINK}
}

function getGHRunner() {
    wget --no-verbose --show-progress -O ${GH_RUNNER_PKG} ${GH_RUNNER_LINK}
}