Skip to content

Commit

Permalink
refactor: use recipes from base16-fork
Browse files Browse the repository at this point in the history
  • Loading branch information
khuei committed Nov 2, 2021
1 parent 9a2b311 commit 0d72370
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cbase16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ update(const std::filesystem::path &opt_cache_dir)
source << YAML::BeginMap;
source << YAML::Key << "schemes";
source << YAML::Value
<< "https://github.com/chriskempson/base16-schemes-source.git";
<< "https://github.com/base16-fork/base16-schemes-recipe.git";
source << YAML::Key << "templates";
source << YAML::Value
<< "https://github.com/chriskempson/base16-templates-source.git";
<< "https://github.com/base16-fork/base16-templates-recipe.git";
source << YAML::EndMap;

file << source.c_str();
Expand All @@ -110,9 +110,7 @@ update(const std::filesystem::path &opt_cache_dir)
}

git_libgit2_init();
clone(opt_cache_dir, "sources", opt_cache_dir / "sources.yaml");
clone(opt_cache_dir, "schemes", opt_cache_dir / "sources" / "schemes" / "list.yaml");
clone(opt_cache_dir, "templates", opt_cache_dir / "sources" / "templates" / "list.yaml");
clone(opt_cache_dir, "", opt_cache_dir / "sources.yaml");
git_libgit2_shutdown();
}

Expand Down

0 comments on commit 0d72370

Please sign in to comment.