#hacktoberfest #generate #continuous-integration

bin+lib sifis-generate

Generate a new project for some build systems with the use of templates

1 unstable release

0.1.0 Nov 19, 2021

#403 in #hacktoberfest

MIT license

494 lines


This tool generates either a new project for some build systems or configuration files for some Continuous Integration with the use of templates.

Templates define the layout for a project and allow developers to insert data at runtime.

Each template contains all files necessary to build a project with a build system, in addition to Continuous Integration and Docker files used to run tests and implement further checks.

Supported build systems

  • meson
  • setuptools

Build systems CI files

  • cargo
  • yarn



$ sifis-generate new --template project-template project-name

Project Templates

The following templates generate build systems files in addition to the configuration files for GitHub and GitLab Continuous Integration. Some templates also produces files to configure the Docker environment.

  • meson-c
    • lib directory for library source files
    • cli directory for command line source files
    • test directory for tests source files
    • meson.build
    • Dockerfile
    • docker-compose.yml
    • github.yml
    • .gitlab-ci.yml
  • meson-c++
    • Same files generated by the meson-c template but configured for the cpp language
  • setuptools
    • setup.py
    • setup.cfg
    • pyproject.toml
    • .pre-commit-config.yaml
    • github.yml
    • .gitlab-ci.yml
  • cargo
    • github.yml
    • .gitlab-ci.yml
  • yarn
    • github.yml
    • .gitlab-ci.yml


This software has been developed in the scope of the H2020 project SIFIS-Home with GA n. 952652.


~59K SLoC