aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--internal/commands/init.go3
2 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index ad3bdd3..f91c1e5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -54,7 +54,7 @@
inherit meta;
pname = name;
- version = "2024.10.25";
+ version = "2024.11.25";
src = pkgs.lib.cleanSource ./.;
vendorHash = "sha256-XQEB2vgiztbtLnc7BR4WTouPI+2NDQXXFUNidqmvbac=";
buildInputs = [ pkgs.musl ];
diff --git a/internal/commands/init.go b/internal/commands/init.go
index c4bc138..94433ab 100644
--- a/internal/commands/init.go
+++ b/internal/commands/init.go
@@ -14,6 +14,9 @@ func Init(sources *yae.Environment) func(c *cli.Context) error {
return fmt.Errorf("sources file already exists")
}
+ sources.Sources = make(map[string]yae.Source)
+ sources.Schema = "https://raw.githubusercontent.com/Fuwn/yae/refs/heads/main/yae.schema.json"
+
if c.Bool("dry-run") {
return nil
}