-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevi
More file actions
executable file
·51 lines (40 loc) · 1.31 KB
/
Copy pathdevi
File metadata and controls
executable file
·51 lines (40 loc) · 1.31 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
############################################################
# The Imixs Developer Script
# start, build, deploy
#
############################################################
# Helper function to remove the '-' char from a param
strip_dash() {
echo "$1" | sed 's/^-//'
}
echo " _ _ _ _ "
echo " __| | _____ _(_) | |__ ___| |_ __"
echo " / _\` |/ _ \\ \\ / / | | '_ \\ / _ \\ | \'_ \\"
echo "| (_| | __/\ V /| | | | | | __/ | |_) |"
echo " \__,_|\___| \_/ |_| |_| |_|\___|_| .__/ "
echo " |_| "
echo " Imixs Developer Script..."
echo "_________________________________________"
# now verify params...
if [[ "$(strip_dash $1)" == "clean" ]]; then
echo " clean project..."
cd open-bpmn.eclipse.client
yarn clean
cd ..
fi
if [[ "$(strip_dash $1)" == "build" ]]; then
echo " build with yarn..."
cd open-bpmn.eclipse.client
yarn
cd ..
fi
# Überprüfen, ob keine Parameter übergeben wurden - standard build
if [[ $# -eq 0 ]]; then
echo " Run with ./dev.sh -XXX"
echo " "
echo " -clean : clean project"
echo " -build : build project "
echo "_______________________________________________________________________"
echo " "
fi