Did you know ... Search Documentation:
Pack prolog_starter_project -- README.md

Prolog Starter Project

This is a very simple Prolog project that can be used as a template to build your own projects off of.

This works with SWI-Prolog.

How to publish

Perform the following step to publish your own Prolog project in the Prolog package repository:

  1. Fork this starter project and turn it into your own project at Github location `https://github.com/USER/REPO`.
  2. Change the metadata in pack.pl. Set name to REPO and set version to a Semantic Version x.y.z.
  3. Create a Github release for your project with the same version that is in your pack.pl file (i.e., x.y.z). .
  4. Run the following command in Prolog:
pack_install('https://github.com/USER/REPO/archive/x.y.z.zip').

That's all folks! Others can now reuse your project.

How to find your project

Others can now install your project from within Prolog with the following command:

pack_install(REPO).

Where REPO is the name of your project (see above).

Let me hear what you think

Please create an issue if you encounter any issue, or if you have suggestion for improving the Prolog starter project.