-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate-all.sh
executable file
·54 lines (47 loc) · 958 Bytes
/
update-all.sh
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
# set -x
## gits
gits="$HOME/workspace/load-imei
$HOME/tang/load-imei
$HOME/workspace/tangcloud
$HOME/tang/tangcloud
$HOME/tang/now
$HOME/workspace/now
$HOME/workspace/tests
$HOME/tang/tests
$HOME/workspace/nginxa
$HOME/tang/nginxa
$HOME/tang/my_study
$HOME/workspace/my_study
$HOME/bin"
for g in $gits; do
if [ -d "$g" ]; then
(
echo "git pull: $g"
cd "$g"
git pull &
)
else
echo "no exists, ignore $g"
fi
done
echo "rust"
(
rustup update stable
# cargo install --force --git https://github.com/ogham/ex
#cargo install-update -a
) &
#opam update
#opam upgrade
#echo "elixir"
#(cd ~/dev-env/elixir && git pull && make clean compile) &
#(cd ~/dev-env/elixir && git pull && make clean test)
#gopackages="
#github.com/tockins/realize
#neugram.io/ng
#github.com/kode4food/sputter/cmd/sputter
#github.com/goby-lang/goby"
#for x in $gopackages; do
# go get -u -v "$x" &
#done
wait