aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/bin/build_all.sh
blob: 62f3276b15397d29d4fd9502fb745888a23dde90 (plain)
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
#!/usr/bin/env bash


mkdir $MOON_HOME/moon_orchestrator/dist 2>/dev/null

echo Building Moon_Interface
cd $MOON_HOME/moon_interface
python3 setup.py sdist > /tmp/moon_interface.log
mv dist/*.tar.gz $MOON_HOME/moon_orchestrator/dist

echo Building Moon_Security_Router
cd $MOON_HOME/moon_secrouter
python3 setup.py sdist > /tmp/moon_secrouter.log
mv dist/*.tar.gz $MOON_HOME/moon_orchestrator/dist

echo Building Moon_Manager
cd $MOON_HOME/moon_manager
python3 setup.py sdist > /tmp/moon_manager.log
mv dist/*.tar.gz $MOON_HOME/moon_orchestrator/dist

echo Building Moon_DB
cd $MOON_HOME/moon_db
python3 setup.py sdist > /tmp/moon_db.log
mv dist/*.tar.gz $MOON_HOME/moon_orchestrator/dist

echo Building Moon_Utilities
cd $MOON_HOME/moon_utilities
python3 setup.py sdist > /tmp/moon_utilities.log
mv dist/*.tar.gz $MOON_HOME/moon_orchestrator/dist

echo Building Moon_Authz
cd $MOON_HOME/moon_authz
python3 setup.py sdist > /tmp/moon_authz.log
mv dist/*.tar.gz $MOON_HOME/moon_orchestrator/dist