diff --git a/flatpaker/actions/generate.py b/flatpaker/actions/generate.py index 8a28bf9..1cffbdf 100644 --- a/flatpaker/actions/generate.py +++ b/flatpaker/actions/generate.py @@ -86,6 +86,7 @@ def add(table: tomlkit.items.Table, key: str, entry: object, sourcedir.mkdir(parents=True, exist_ok=True) with sourcedir.joinpath('.gitignore').open('w', encoding='utf-8') as f: f.write('*') + f.write('!.gitignore') with projectdir.joinpath('build.toml').open('w', encoding='utf-8') as f: tomlkit.dump(doc, f)