Description
Hi 😅
Currently --recipe
flag is working very nice on master (not released yet), also the recipes are being automatically tested and deployed 🎉 https://github.com/amberframework/recipes/releases
Although, this repo has some duplicated code across recipes, we have some options to fix this:
-
Use symlinks to reuse existent code/directories/files, before deploy the symlinks should be replaced by the real folder/file, once deployed and zipped the recipe should not contain symlinks. 😄
-
Use multiple liquid layouts to reuse templates. We would need a common layout directory, so every recipe can include it and reuse the code. 🎉
-
Use one recipe per repository this won't remove the duplicated code, but just move the code to a new repo for each recipe. This would work by using
shards install
, although the maintainability is not easy, because we will require to test, maintain, deploy and review issue/PRs for all recipe repositories.. ❤️ -
hierarchical recipes where a recipe depends on another base recipe and is effectively a delta from the base recipe by @damianham 👍
/cc @drujensen @damianham @amberframework/contributors @amberframework/core-team