From 092b6def05402015daacc09ad2d85168d5eadf4d Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Mon, 28 Oct 2019 13:36:42 +0100 Subject: [PATCH] Add tup recipes articles --- articles/tup_recipes.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 articles/tup_recipes.md diff --git a/articles/tup_recipes.md b/articles/tup_recipes.md new file mode 100644 index 0000000..f04a089 --- /dev/null +++ b/articles/tup_recipes.md @@ -0,0 +1,19 @@ +--- +title: Tup recipes +date: 2019-10-28 +--- + +As of writing, tup is at version +[0.7.8](https://github.com/gittup/tup/releases/tag/v0.7.8). + +Access root of project +---------------------- + +Add `&root = .` in your `Tuprules.tup` at the root of your project. +You can then reference it with `&(root)` in Tupfiles. + +Define default behavior +----------------------- + +You can define default behavior with a `Tupdefault`. `Tupdefault` files in child +directory take precedence of the one in the parent directory.