File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ info () {
6
+ echo -e " \033[1;34m$1 \033[0m"
7
+ }
8
+
5
9
warn () {
6
10
echo " ::warning :: $1 "
7
11
}
32
36
33
37
if [ -n " $extra_system_packages " ]; then
34
38
for pkg in $extra_system_packages ; do
35
- echo " Install $pkg by apk"
39
+ info " Install $pkg by apk"
36
40
apk --no-cache add " $pkg "
37
41
done
38
42
fi
@@ -46,7 +50,7 @@ if [ -n "$working_directory" ]; then
46
50
fi
47
51
48
52
if [ -n " $pre_compile " ]; then
49
- echo " Run pre compile commands"
53
+ info " Run pre compile commands"
50
54
eval " $pre_compile "
51
55
fi
52
56
@@ -55,7 +59,7 @@ echo "$root_file" | while IFS= read -r f; do
55
59
continue
56
60
fi
57
61
58
- echo " Compile $f "
62
+ info " Compile $f "
59
63
60
64
if [ ! -f " $f " ]; then
61
65
error " File '$f ' cannot be found from the directory '$PWD '."
@@ -66,6 +70,6 @@ echo "$root_file" | while IFS= read -r f; do
66
70
done
67
71
68
72
if [ -n " $post_compile " ]; then
69
- echo " Run post compile commands"
73
+ info " Run post compile commands"
70
74
eval " $post_compile "
71
75
fi
You can’t perform that action at this time.
0 commit comments