Foundation
Config-driven CI target
Share analyzer defaults, inventory apps and tests, enforce AppSource warnings, and version only changed projects.
{
"$schema": "https://alwasp.dev/schema/alwasp.schema.json",
"version": 1,
"defaultTarget": "ci",
"defaults": {
"nowarn": ["AA0207"],
"analyzers": { "codeCop": true }
},
"restore": {
"enabled": true,
"mode": "Locked",
"packagesFolder": ".alpackages",
"country": "W1"
},
"workspace": {
"logDirectory": ".alwasp/logs",
"manifest": ".alwasp/build-manifest.json",
"maxCpuCount": 4,
"continueOnError": false
},
"versioning": {
"enabled": true,
"releaseType": "Release",
"source": "appJson",
"applyTo": "changedOnly",
"includeDependencies": true,
"dependencyUpdateScope": "directlyChanged"
},
"changeDetection": {
"mode": "git",
"base": "latest-merge:version-increase",
"includeDependents": true
},
"apps": [
{ "id": "Broker", "path": "./Broker" }
],
"tests": [
{ "id": "BrokerTest", "path": "./BrokerTest", "app": "Broker" }
],
"profiles": {
"appsource": {
"include": "apps",
"outFolder": "output/appsource",
"appSourceCop": true,
"warningPolicy": { "treatWarningsAsErrors": true }
},
"test": {
"include": "tests",
"outFolder": "output/tests",
"needsProfile": "appsource"
}
},
"targets": {
"ci": ["appsource", "test"]
}
}