Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

machlibs/template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mach/foobar - a project template

Getting started

Adding dependency

In a libs subdirectory of the root of your project:

git clone https://github.com/machlibs/foobar

Then in your build.zig add:

...
const foobar = @import("libs/foobar/build.zig");

pub fn build(b: *Builder) void {
    ...
    exe.addPackage(foobar.pkg);
    foobar.link(b, exe, .{});
}

Join the community

Join the Mach community on Discord or Matrix to discuss this project, ask questions, get help, etc.

About

repository template

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published