name: std gpid: malunal semv: 1.0.0 # `system`, the layer beneath std that talks to the operating system, by its # folder beside this one until it's released: then by its tag. requires: - https://git.malunal.studio/sakura/system@v1.0.0 # Each module is a library of its own, in the folder of its name, which reads # `core` and the modules it lists, `system` among them. targets: - name: std.containers type: library root: ./containers - name: std.allocators type: library root: ./allocators # `std::io::glob` is a module within `std::io`, in `io/glob/`, so it comes with it. - name: std.io type: library root: ./io deps: [system] - name: std.math type: library root: ./math - name: std.time type: library root: ./time deps: [std.io, system] - name: std.thread type: library root: ./thread deps: [std.containers, std.time, system] - name: std.process type: library root: ./process deps: [std.io, system] - name: std.serial type: library root: ./serial deps: [std.containers] - name: std.testing type: library root: ./testing deps: [std.io, system] - name: std.text type: library root: ./text - name: std.net type: library root: ./net deps: [std.containers, std.io] - name: std.semver type: library root: ./semver - name: std.json type: library root: ./json deps: [std.io, std.serial] - name: std.yaml type: library root: ./yaml deps: [std.containers, std.io, std.serial] - name: std.xml type: library root: ./xml deps: [std.containers] - name: std.args type: library root: ./args deps: [std.io, std.semver, system] # Each module's tests, in the folder of its name, built and run as executables. # Their `main` reads `std::io` and `std::process`, so each lists them. Those # reading files of their own, as JSON's and YAML's suites, find them from the # root of the repository. tests: - name: std.containers.tests type: program runs: native deps: [std.containers, std.io, std.process, std.testing, std.thread] srcs: [tests/main.sakura, tests/containers/*.sakura] - name: std.allocators.tests type: program runs: native deps: [std.allocators, std.containers, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/allocators/*.sakura] - name: std.io.tests type: program runs: native deps: [std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/io/**/*.sakura] - name: std.math.tests type: program runs: native deps: [std.math, std.time, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/math/*.sakura] - name: std.time.tests type: program runs: native deps: [std.time, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/time/*.sakura] - name: std.thread.tests type: program runs: native deps: [std.thread, std.math, std.time, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/thread/*.sakura] - name: std.process.tests type: program runs: native deps: [std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/process/*.sakura] - name: std.net.tests type: program runs: native deps: [std.net, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/net/*.sakura] - name: std.serial.tests type: program runs: native deps: [std.serial, std.containers, std.json, std.yaml, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/serial/*.sakura] - name: std.json.tests type: program runs: native deps: [std.json, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/json/*.sakura] - name: std.yaml.tests type: program runs: native deps: [std.yaml, std.json, std.serial, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/yaml/*.sakura] - name: std.xml.tests type: program runs: native deps: [std.xml, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/xml/*.sakura] - name: std.args.tests type: program runs: native deps: [std.args, std.io, std.process, std.testing] srcs: [tests/main.sakura, tests/args/*.sakura] exports: - std.containers - std.allocators - std.io - std.math - std.time - std.thread - std.process - std.serial - std.testing - std.text - std.net - std.semver - std.json - std.yaml - std.xml - std.args package: lic: MIT desc: The Sakura programming language's standard library. auth: John Christman url: https://git.malunal.studio/sakura/std