Skip to content

Commit

Permalink
[ADD] pyproject.toml generation
Browse files Browse the repository at this point in the history
  • Loading branch information
zamberjo committed Oct 30, 2023
1 parent 1f8f868 commit 1387e46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ _tasks:
- chmod a+x .github/workflows/au_install_addons.sh
- chmod a+x .github/workflows/au_install_requirements.sh
- chmod a+x .github/workflows/au_exportpot.sh
- pipx run whool init

_migrations:
- version: v1.3.6
Expand Down
3 changes: 3 additions & 0 deletions src/.github/workflows/au_install_addons.sh.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ if test -f "OCA_own_dependencies.txt"; then
fi
echo "Making '${module}' available..."
mv ${repo}/${module} .
pushd ${module}
pipx run whool init;
popd
rm -fr ${repo};
done
fi
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ jobs:
- name: Moving all on new folder
run: mkdir {{ "${{ github.event.repository.name }}" }} &&
mv ./*.py ./{{ "${{ github.event.repository.name }}" }}/ &&
mv ./pyproject.toml ./{{ "${{ github.event.repository.name }}" }}/ &&
mv $(ls -d */|grep -v {{ "${{ github.event.repository.name }}" }}) ./{{ "${{ github.event.repository.name }}" }}
- name: Install aurestic addons
run: ./.github/workflows/au_install_addons.sh
Expand Down

0 comments on commit 1387e46

Please sign in to comment.