Commit 8b64d7f0 authored by SkyzohKey's avatar SkyzohKey

Sample poulp.toml formating.

parent ec0f5527
Pipeline #12500 failed with stage
in 51 seconds
......@@ -29,47 +29,59 @@ main
p Here is an example of a complete <code>poulp.toml</code>.
pre
code(class="toml")
| # First we define the valac version(s) targeted
| vala-version = ">=0.20.1"
|
| # Basic informations about our app
| name = "my-app"
| description = "A cool application"
|
| # Use semantic versionning
| version = "0.1.0"
| description = "A cool application"
|
| # To help find your project
| keywords = [ "website", "valse", "cool" ]
| license = "LGPL-3.0"
|
| homepage = "https://jean.dupont.fr/myapp.html"
| repository = "https://git.dupont.fr/my-app.git"
|
| # Where to report bugs
| bugs = {
| email = "jean@dupont.fr",
| url = "git.dupont.fr/jean/my-app/issues"
| }
|
| author = "Jean Dupont"
| contributors = [
| maintainers = [
| "John Doe"
| ]
| # Dev team members informations.
| author = "Jean Dupont <jean@dupont.fr>"
| contributors = []
| maintainers = [ "John Doe <john.doe@anon.im>" ]
|
| # The files to compile
| # The files to compile, supports wildcard (*).
| files = [
| "*.vala",
| "models/*.vala",
| "*.gs",
| "*.c"
| ]
|
| # VAPIs directory.
| vapi-dir = "src/vapis/"
|
| # Custom output path, if not specified defaults to `build/$(app-name)`.
| output = "custom-build-path/my-app"
| vala-version = ">=0.20.1"
| # Other arguments to give to valac
|
| # Other arguments to give to valac.
| compilerParams = [
| "-o", "$(POULP_NAME)-$(POULP_VERSION)"
| ]
|
| # If true, we add flags to compile as a library
| library = false
|
| # Poulp has support for npm-like scripts.
| [scripts]
| test = [ "poulp build","./$(POULP_BUILD_OUPUT)" ]
| test = [ "poulp build", "./$(POULP_BUILD_OUPUT)" ]
|
| [dependencies]
| gio-2.0 = "*"
......@@ -79,7 +91,7 @@ main
| valadate = "^0.1.0"
p
| If you want to learn more about all this options, check out the
| If you want to learn more about all this options, check out the
a(href="https://framagit.org/poulp/poulp/blob/develop/SPEC.md#poulptoml") documentation on Framagit.
h2(id="commands") Available commands
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment