Skip to content

Commit

Permalink
fix up packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Apr 26, 2024
1 parent 1a4b7ab commit 1a2a2e1
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions bsp/raspberrypi/rp2040/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"build.zig",
"src",
"tools",
"rp2040.ld",
},
}
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const example_dep_names: []const []const u8 = &.{
//"examples/microchip/avr",
"examples/gigadevice/gd32",
"examples/stmicro/stm32",
//"examples/espressif/esp",
"examples/espressif/esp",
"examples/raspberrypi/rp2040",
};

Expand Down
3 changes: 3 additions & 0 deletions examples/espressif/esp/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
},

.paths = .{
"LICENSE",
"README.md",
"build.zig",
"build.zig.zon",
"src",
},
}
3 changes: 3 additions & 0 deletions examples/nordic/nrf5x/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
},

.paths = .{
"LICENSE",
"README.md",
"build.zig",
"build.zig.zon",
"src",
},
}
3 changes: 3 additions & 0 deletions examples/nxp/lpc/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
},

.paths = .{
"LICENSE",
"README.md",
"build.zig",
"build.zig.zon",
"src",
},
}
4 changes: 4 additions & 0 deletions examples/raspberrypi/rp2040/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},

.paths = .{
"LICENSE",
"README.md",
"build.zig",
"build.zig.zon",
"src",
"scripts",
},
}
5 changes: 4 additions & 1 deletion tools/package-test/build.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const std = @import("std");

pub fn build(b: *std.Build) void {
const microzig_dep = b.dependency("microzig", .{});
const optimize = b.standardOptimizeOption(.{});
const microzig_dep = b.dependency("microzig", .{
.optimize = optimize,
});
b.getInstallStep().dependOn(microzig_dep.builder.getInstallStep());

const test_bsps_step = b.step("run-bsp-tests", "Run all platform agnostic tests for BSPs");
Expand Down

0 comments on commit 1a2a2e1

Please sign in to comment.