Add spotify renderer
This commit is contained in:
parent
16fd5b0b95
commit
b55c3a666f
17 changed files with 1464 additions and 22 deletions
13
build.zig
13
build.zig
|
@ -94,6 +94,19 @@ pub fn build(b: *std.Build) !void {
|
|||
|
||||
const render_exe_install = b.addInstallArtifact(departures_exe, .{});
|
||||
render_step.dependOn(&render_exe_install.step);
|
||||
|
||||
const spotify_exe = b.addExecutable(.{
|
||||
.name = "eink-feed-render-spotify",
|
||||
.root_source_file = b.path("src/eink_feed_render/main/spotify.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
spotify_exe.root_module.addImport("eink_feed_render", render_mod);
|
||||
spotify_exe.root_module.addImport("clap", clap_dep.module("clap"));
|
||||
spotify_exe.linkLibC();
|
||||
|
||||
const spotify_exe_install = b.addInstallArtifact(spotify_exe, .{});
|
||||
render_step.dependOn(&spotify_exe_install.step);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue