Failed to fetch fork details. Try again later.
-
Delaigue Olivier authored
v1.3.2.28 BUG: wrong conditional expressions correctd to have a right number of end states returned by CreateIniStates for CemaNeige whithout hysteresis #5618
f614cb8f
Forked from
HYCAR-Hydro / airGR
Source project has a limited visibility.
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
52
53
54
#!/bin/bash
do_kill()
{
local pid=$1
if [[ -n $pid ]]; then
if [[ -n $(ps -ef|grep $pid|grep -v grep) ]]; then
echo "killing $pid..."
kill $jm_pid
else
echo "no process with pid $pid"
fi
fi
}
do_exit()
{
# echo "exits"
do_kill $jm_pid
}
syntax()
{
echo "syntaxe : $(basename $0) <fichier spec>"
exit 1
}
trap do_exit SIGINT
trap do_exit EXIT
if [[ $# != 1 ]]; then
syntax
fi
ni=$(ps -ef|grep node-inspector|grep -v grep)
if [[ -z $ni ]]; then
echo "starting node-inspector..."
node-inspector &
else
echo "node-inspector already running"
fi
echo
echo "debugging $1..."
node --debug-brk ./node_modules/jasmine-node/bin/jasmine-node $1 &
jm_pid=$!
echo
#ps -ef|grep jasmine-node|grep -v grep
#pid=$(ps -ef|grep jasmine-node|grep -v grep|awk '{print $2}')
#echo $pid $jm_pid
echo "starting Chrome...."
chromium-browser http://127.0.0.1:8080/?port=5858