releasesafe ftw
This commit is contained in:
parent
159e76e5e7
commit
6f590b28b7
1 changed files with 3 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
const gen_skill_json_module = b.createModule(.{
|
const gen_skill_json_module = b.createModule(.{
|
||||||
.root_source_file = b.path("tools/gen-skill-json.zig"),
|
.root_source_file = b.path("tools/gen-skill-json.zig"),
|
||||||
.target = native_target,
|
.target = native_target,
|
||||||
.optimize = .ReleaseFast,
|
.optimize = .ReleaseSafe,
|
||||||
});
|
});
|
||||||
const gen_skill_json_exe = b.addExecutable(.{
|
const gen_skill_json_exe = b.addExecutable(.{
|
||||||
.name = "gen-skill-json",
|
.name = "gen-skill-json",
|
||||||
|
|
@ -111,12 +111,12 @@ pub fn build(b: *std.Build) !void {
|
||||||
// Pipeline: Lambda deploy -> gen-skill-json -> ASK deploy -> add-alexa-permission
|
// Pipeline: Lambda deploy -> gen-skill-json -> ASK deploy -> add-alexa-permission
|
||||||
const aws_dep = b.dependency("aws", .{
|
const aws_dep = b.dependency("aws", .{
|
||||||
.target = native_target,
|
.target = native_target,
|
||||||
.optimize = .ReleaseFast,
|
.optimize = .ReleaseSafe,
|
||||||
});
|
});
|
||||||
const add_alexa_perm_module = b.createModule(.{
|
const add_alexa_perm_module = b.createModule(.{
|
||||||
.root_source_file = b.path("tools/add-alexa-permission.zig"),
|
.root_source_file = b.path("tools/add-alexa-permission.zig"),
|
||||||
.target = native_target,
|
.target = native_target,
|
||||||
.optimize = .ReleaseFast,
|
.optimize = .ReleaseSafe,
|
||||||
});
|
});
|
||||||
add_alexa_perm_module.addImport("aws", aws_dep.module("aws"));
|
add_alexa_perm_module.addImport("aws", aws_dep.module("aws"));
|
||||||
const add_alexa_perm_exe = b.addExecutable(.{
|
const add_alexa_perm_exe = b.addExecutable(.{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue