forked from flybywiresim/aircraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
igniter.config.mjs
18 lines (16 loc) · 916 Bytes
/
igniter.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { ExecTask, TaskOfTasks } from '@flybywiresim/igniter';
export default new TaskOfTasks('a32nx', [
new TaskOfTasks('build', [
new ExecTask('instruments','npm run build:instruments', ['src/instruments', 'A32NX/html_ui/Pages/VCockpit/Instruments/generated']),
new ExecTask('behavior','node src/behavior/build.js', ['src/behavior', 'A32NX/ModelBehaviorDefs/A32NX/generated']),
new ExecTask('model','node src/model/build.js', ['src/model', 'A32NX/SimObjects/AirPlanes/Asobo_A320_NEO/model']),
new ExecTask('systems', [
'cargo build --target wasm32-wasi --release',
'cp -u target/wasm32-wasi/release/systems.wasm A32NX/SimObjects/AirPlanes/Asobo_A320_NEO/panel/'
]),
], true),
new TaskOfTasks('dist', [
new ExecTask('manifests', 'node scripts/build.js'),
new ExecTask('metadata', 'bash scripts/metadata.sh'),
]),
]);