Skip to content

Commit

Permalink
0.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Nov 21, 2024
1 parent f41e6f7 commit 6915917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/test_cookiecutter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
set -o errexit

# Accept two arguments: app-type and python-version
echo -e "\033[32mGenerating project using cookiecutter template with app-type: $1, python-version: $2 and authentication: $3\033[0m"
echo -e "\033[32mGenerating project using cookiecutter template with app-type: $1, python-version: $2, authentication: $3 and runtime $4 \033[0m"
rm -rf generated/$1-$2-$3
cookiecutter -f --no-input --output-dir generated/$1-$2-$3/ ./ app_type=$1 python_version=$2 authentication=$3
cookiecutter -f --no-input --output-dir generated/$1-$2-$3/ ./ app_type=$1 python_version=$2 authentication=$3 runtime=$4

# Install generated project's dependencies
echo -e "\033[32mInstalling dependencies for the generated project\033[0m"
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "0.1.0"
name = "{{cookiecutter.project_slug}}"

dependencies = [
"fastagency[{{cookiecutter.runtime}},mesop,server{% if "fastapi" in cookiecutter.app_type %},fastapi{% endif %}{% if "nats" in cookiecutter.app_type %},nats{% endif %}{% if cookiecutter.authentication == "google" %},firebase{% elif cookiecutter.authentication == "basic" %},basic_auth{% endif %}]>=0.3.0",
"fastagency[{{cookiecutter.runtime}},mesop,server{% if "fastapi" in cookiecutter.app_type %},fastapi{% endif %}{% if "nats" in cookiecutter.app_type %},nats{% endif %}{% if cookiecutter.authentication == "google" %},firebase{% elif cookiecutter.authentication == "basic" %},basic_auth{% endif %}]==0.4.0-dev0",
{%- if cookiecutter.authentication == "google" %}
"PyYAML>=6.0.2",
{% endif %}
Expand Down

0 comments on commit 6915917

Please sign in to comment.