this repo has no description usp.wiro.world
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

use custom ext

+62 -58
-25
examples/auvergne.rs
··· 1 - // wakatime-ls := derivation { 2 - derivation wakatime-ls { 3 - version: ::from((0, 2, 0)), 4 - source: ::github("mrnossiom", "wakatime-ls", "main"), 5 - 6 - steps: |src| { 7 - out := std::make_output("out"); 8 - // let out; std::make_output!(out); 9 - // std::make_output!(def out); 10 - 11 - std::rust::build(src, out) 12 - .inject(pkgs::rustc::v1-56-3); 13 - // how to handle deps? 14 - // .wrap_many([pkgs ...]) 15 - // .wrap[pkgs::libgit,] 16 - }, 17 - } 18 - 19 - make_hello := derivation { 20 - name: hello, 21 - source: .github("gnu", "hello"), 22 - build/steps: .simple(|src, out| { 23 - std::c::automake(src, out); 24 - }) 25 - }
examples/core/lib.rs samples/core/lib.usp
examples/cur/crystal.rs samples/cur/crystal.usp
examples/cur/pkgs/hello.rs samples/cur/pkgs/hello.usp
examples/cur/pkgs/module.rs samples/cur/pkgs/module.usp
examples/machine/cristal.rs samples/machine/cristal.usp
-33
examples/post-auvergne.rs
··· 1 - struct Derivation { 2 - meta: Meta, 3 - source: Source, 4 - steps: Array<BuildStep>, 5 - } 6 - 7 - 8 - struct Meta { 9 - name: String, 10 - version: Version, 11 - bin: ?BinInfo, 12 - } 13 - 14 - // struct Option {} 15 - 16 - // --- 17 - 18 - wakatime-ls := Derivation { 19 - meta: .{ 20 - name: "wakatime-ls", 21 - version: .from((0, 2, 0)), 22 - bin: { !wakatime-ls: "wakatime-ls" }, 23 - }, 24 - 25 - source: .github("mrnossiom", "wakatime-ls", "main"), 26 - 27 - steps: |src| [ 28 - std.rust.build(src) 29 - ], 30 - } 31 - 32 - // --- 33 -
examples/project/cristal.rs samples/project/cristal.usp
+58
samples/concepts/derivation.usp
··· 1 + // wakatime-ls := derivation { 2 + derivation wakatime-ls { 3 + version: ::from((0, 2, 0)), 4 + source: ::github("mrnossiom", "wakatime-ls", "main"), 5 + 6 + steps: |src| { 7 + out := std::make_output("out"); 8 + // let out; std::make_output!(out); 9 + // std::make_output!(def out); 10 + 11 + std::rust::build(src, out) 12 + .inject(pkgs::rustc::v1-56-3); 13 + // how to handle deps? 14 + // .wrap_many([pkgs ...]) 15 + // .wrap[pkgs::libgit,] 16 + }, 17 + } 18 + 19 + make_hello := derivation { 20 + name: hello, 21 + source: .github("gnu", "hello"), 22 + build/steps: .simple(|src, out| { 23 + std::c::automake(src, out); 24 + }) 25 + } 26 + 27 + // --- 28 + 29 + struct Derivation { 30 + meta: Meta, 31 + source: Source, 32 + steps: Array<BuildStep>, 33 + } 34 + 35 + 36 + struct Meta { 37 + name: String, 38 + version: Version, 39 + bin: ?BinInfo, 40 + } 41 + 42 + // struct Option {} 43 + 44 + // --- 45 + 46 + wakatime-ls := Derivation { 47 + meta: .{ 48 + name: "wakatime-ls", 49 + version: .from((0, 2, 0)), 50 + bin: { !wakatime-ls: "wakatime-ls" }, 51 + }, 52 + 53 + source: .github("mrnossiom", "wakatime-ls", "main"), 54 + 55 + steps: |src| [ 56 + std.rust.build(src) 57 + ], 58 + }
+4
samples/concepts/service.usp
··· 1 + // Options limit the number of instances that can run on a server without tricks 2 + // like `services.foo.instance.main = { ... }` 3 + 4 + service HypixelBankTracker;