Updating backup files list + zig build for version 0.14.0
parent
4a9d20f1ee
commit
b2d341d340
|
@ -1,5 +1,8 @@
|
|||
output-vagrant
|
||||
*~
|
||||
*.old
|
||||
*.old.*
|
||||
*.bak
|
||||
.git
|
||||
.vagrant
|
||||
.secret
|
||||
|
|
|
@ -26,10 +26,10 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
for i := 0; i < len(dirs); i++ {
|
||||
for _, dir := range dirs {
|
||||
m := make(map[string]string)
|
||||
m["name"] = dirs[i].Name()
|
||||
if dirs[i].IsDir() {
|
||||
m["name"] = dir.Name()
|
||||
if dir.IsDir() {
|
||||
m["dir"] = "yes"
|
||||
} else {
|
||||
m["dir"] = "no"
|
||||
|
|
|
@ -4,7 +4,7 @@ pub fn build(b: *std.Build) void {
|
|||
const exe = b.addExecutable(.{
|
||||
.name = "callingc",
|
||||
.root_source_file = b.path("src/callingc.zig"),
|
||||
.target = b.host,
|
||||
.target = b.graph.host,
|
||||
.optimize = b.standardOptimizeOption(.{}),
|
||||
});
|
||||
exe.addIncludePath(b.path("c-src"));
|
||||
|
|
Loading…
Reference in New Issue