Commit 325f1883 by Bat

Update index.jade: try to fix the manifest example + added features

parent 5c44d290
Pipeline #12512 passed with stages
in 43 seconds
......@@ -28,69 +28,73 @@ main
h2 Complete manifest
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"
|
| # 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"
| }
|
| # Dev team members informations.
| authors = [
| "Jean Dupont &lt;jean@dupont.fr&gt;",
| "John Doe &lt;john.doe@anon.im&gt;"
| ]
|
| # 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"
|
| # 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)" ]
|
| [dependencies]
| gio-2.0 = "*"
| valse = "^0.1.2"
|
| [dev-dependencies]
| valadate = "^0.1.0"
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"
# 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"
}
# Dev team members informations.
authors = [
"Jean Dupont &lt;jean@dupont.fr&gt;",
"John Doe &lt;john.doe@anon.im&gt;"
]
# 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"
# 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)" ]
[dependencies]
gio-2.0 = "*"
valse = "^0.1.2"
[dev-dependencies]
valadate = "^0.1.0"
# You can toggle some features/options of the compiler
[features]
c-warnings = false
vapi-comments = true
p
| 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.
......
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