This tool generates either new projects 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.
To see the list of supported commands, run: sifis-generate --help
Each command has an optional argument to define a license and an optional argument to
override the project name instead of using the last component of the project-path.
The default value for the license argument is MIT
.
$ sifis-generate cargo [--license LICENSE --name NAME --branch GITHUB_BRANCH] project-path
$ sifis-generate maven [--license LICENSE --name NAME --branch GITHUB_BRANCH] project-group project-path
$ sifis-generate meson [--kind meson-project-kind] [--license LICENSE --name NAME --branch GITHUB_BRANCH] project-path
Admitted values for the kind
argument:
c
c++
$ sifis-generate poetry [--license LICENSE --name NAME --branch GITHUB_BRANCH] project-path
$ sifis-generate yarn [--license LICENSE --name NAME --branch GITHUB_BRANCH] project-path
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.
lib
directory for library source filescli
directory for command line source filestest
directory for tests source filesmeson-c
template but configured for
the cpp
languagemain
directory for library source filestest
directory for tests source filesReleased under the MIT License.
This software has been developed in the scope of the H2020 project SIFIS-Home with GA n. 952652.