Skip to content

rupurt/utc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

utc

The universal transpiler collection

Usage

  1. Add utc as a dependency in your build.zig.zon
.{
    .name = "<name_of_your_package>",
    .version = "<version_of_your_package>",
    .dependencies = .{
        .zodbc = .{
            .url = "https://github.com/rupurt/utc/archive/<git_tag_or_commit_hash>.tar.gz",
            .hash = "<package_hash>",
        },
    },
}

Set <package_hash> to 12200000000000000000000000000000000000000000000000000000000000000000, and Zig will provide the correct found value in an error message.

  1. Add utc as a dependency module in your build.zig
// ...
const utc_dep = b.dependency("utc", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("utc", zodbc_dep.module("utc"));

Development

> nix develop -c $SHELL
> make
> make test
> make run
> make clean
> make build
> make exec

License

utc is released under the MIT license

About

The universal transpiler collection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published