mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 10:32:20 +02:00
Solve #119 Add script for create custom component
This commit is contained in:
@@ -5,4 +5,10 @@
|
||||
echo "Run bash for $1"
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
/usr/local/bin/python3.7 $DIR/setup_layers.py $@
|
||||
is_defree_installed=$(pip3 list --disable-pip-version-check | grep -E "deftree")
|
||||
if [ -z "$is_defree_installed" ]; then
|
||||
echo "The python deftree is not installed. Installing..."
|
||||
pip3 install deftree
|
||||
fi
|
||||
|
||||
python3 $DIR/setup_layers.py $@
|
||||
|
Reference in New Issue
Block a user