mirror of
https://github.com/katanemo/plano.git
synced 2026-05-02 12:22:43 +02:00
rename
This commit is contained in:
parent
c254dfb16a
commit
6991fbb7a7
1 changed files with 24 additions and 0 deletions
24
arch/tools/build_cli.sh
Normal file
24
arch/tools/build_cli.sh
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Define paths
|
||||
source_schema="../arch_config_schema.yaml"
|
||||
source_compose="../docker-compose.yaml"
|
||||
source_stage_env="../stage.env"
|
||||
destination_dir="config"
|
||||
|
||||
# Ensure the destination directory exists only if it doesn't already
|
||||
if [ ! -d "$destination_dir" ]; then
|
||||
mkdir -p "$destination_dir"
|
||||
echo "Directory $destination_dir created."
|
||||
fi
|
||||
|
||||
# Copy the files
|
||||
cp "$source_schema" "$destination_dir/arch_config_schema.yaml"
|
||||
cp "$source_compose" "$destination_dir/docker-compose.yaml"
|
||||
cp "$source_stage_env" "$destination_dir/stage.env"
|
||||
|
||||
# Print success message
|
||||
echo "Files copied successfully!"
|
||||
|
||||
echo "Building the cli"
|
||||
poetry install
|
||||
Loading…
Add table
Add a link
Reference in a new issue