name: blossom
gpid: malunal
semv: 1.0.0

options:
  level: 2
  debug: false

# A requirement given no options is written on a line of its own: a block names
# one requirement, and is written where it gives options.
requires:
- https://git.malunal.studio/sakura/std@v1.0.0

targets:
- name:  blossom
  type:  program
  level: ${level}
  petal: ${debug}
  deps:
  - std.io        # With `std::io::glob`, which expands `srcs`
  - std.process
  - std.time
  - std.args
  - std.yaml
  - std.math      # Whose `wrapping_add` the digests add with
  srcs:
  - management/**/*.sakura
  - models/**/*.sakura
  - pipeline/**/*.sakura
  - entry.sakura

tests:
- name: blossom.units
  type: program
  deps: [std.args, std.yaml, std.io, std.process, std.time, std.math, std.testing]
  srcs:
  - management/**/*.sakura
  - models/**/*.sakura
  - pipeline/**/*.sakura
  - tests/units/**/*.sakura

- name: blossom.commands
  type: program
  deps: [std.io, std.process, std.testing]
  srcs:
  - tests/commands/**/*.sakura
  args: ["${bin}/blossom"]

package:
  lic:  MIT
  desc: Build tool for Sakura programming language.
  auth: John Christman <sorakatadzuma@gmail.com>
  url:  https://git.malunal.studio/sakura/blossom
