name: system
gpid: sakura
semv: 1.0.0

# std, for the tests alone, by its folder beside this one until `system` is
# released: `system` itself reads `core` alone, so a project requiring it never
# reads std through it.
requires:
- https://git.malunal.studio/sakura/std@v1.0.0

# The layer beneath std that talks to the operating system: one library, the
# module `system`, in the folder of its name, with `system::linux` and
# `system::windows` within it.
targets:
- name: system
  type: library
  root: ./system

# Its tests, built and run as an executable, each in a copy of the program, so
# what one does with a signal is its own.
tests:
- name: system.tests
  type: program
  runs: native
  deps: [system, std.io, std.process, std.testing, std.thread]
  srcs: [tests/*.sakura]

exports:
- system

package:
  lic:  MIT
  desc: The layer of Sakura beneath its standard library that talks to the operating system.
  auth: John Christman <sorakatadzuma@gmail.com>
  url:  https://git.malunal.studio/sakura/system
