hall init --convert --author AUTHOR_NAME --prefix SOURCE_DIR --license LICENSE_NAME PROJECT_NAME --execute
hall~: executable of ~guile-hall
init~: subcommand of ~hall
which initiates a project, either creating a completely new project, or converting an existing project--license~: the license name, which ~hall
will translate to a license text in a license file called COPYING
--execute~: tells ~guile-hall
to not only dry-run, but actually perform the changes, which conversely means leaving away --execute
results in a dry-run, displaying the changes, which guile~hall
would performguile-hall
will create typical files one might need when making a GNU Guix package. You might need to adapt a few of the values in hall.scm
, as they can be incorrect for existing projects, which do not exactly follow the file structure guile-hall
assumes.
For example the hall init
command does not check, whether its assumptions about where your tests are located is correct. It assumes them to be in tests/
, but you might have them in test/
.
A lot of the defaults will probably not match your project's structure and you will have to adapt the corresponding values.
guix.scm
guix.scm
.source
attribute in guix.scm
, according to the version number.synopsis
field.description
field.license
field has the correct license name.hall.scm
version
in hall.scm
.synopsis
field.description
field.license
field has the correct license name.libraries
value.tests
value.