File tree Expand file tree Collapse file tree 2 files changed +65
-2
lines changed Expand file tree Collapse file tree 2 files changed +65
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- premake5 gmake;
3
- make config=release all;
2
+ function -r {
3
+ premake5 gmake;
4
+ make config=release all;
5
+ }
6
+
7
+ function -d {
8
+ premake5 gmake;
9
+ make config=debug all;
10
+ }
11
+
12
+ function -a {
13
+ bash .build_assets.sh;
14
+ }
15
+
16
+ function -c {
17
+ make clean;
18
+ echo -e " =====Cleaning done=====" ;
19
+ }
20
+
21
+
22
+ function -h {
23
+ echo -e "
24
+ ==========================================================================
25
+ run ./build.sh -r to compile for release
26
+ run ./build.sh -d to compile for debug
27
+ run ./build.sh -c to run make clean (start fresh)
28
+ run ./build.sh -h to read this msg :3
29
+ ==========================================================================
30
+ " ;
31
+ }
32
+
33
+
34
+ # ## command list ###
35
+ case $1 in
36
+ -r)
37
+ -r
38
+ ;;
39
+
40
+ -d)
41
+ -d
42
+ ;;
43
+
44
+ -a)
45
+ -a
46
+ ;;
47
+
48
+ -c)
49
+ -c
50
+ ;;
51
+
52
+ -h)
53
+ -h
54
+ ;;
55
+
56
+ * )
57
+ echo -e "
58
+ ==========================================================================
59
+ run ./build.sh -r to compile for release
60
+ run ./build.sh -d to compile for debug
61
+ run ./build.sh -c to run make clean (start fresh)
62
+ run ./build.sh -h to read this msg :3
63
+ ==========================================================================
64
+ "
65
+
66
+ esac
You can’t perform that action at this time.
0 commit comments