diff options
author | Charadon <dev@iotib.net> | 2022-09-28 16:07:28 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-09-28 16:07:28 -0400 |
commit | 2853858807d29548a75f19429646b48ac0004870 (patch) | |
tree | 5c2d86e25530524ee2e19d9cfcce49f8275d487b | |
parent | 845bbfee27d0879d5f83afb6a09f9436124e5bed (diff) | |
download | dscip-2853858807d29548a75f19429646b48ac0004870.tar.gz |
templates.txt: Added to document how Templates work.
-rw-r--r-- | docs/templates.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/templates.txt b/docs/templates.txt new file mode 100644 index 0000000..19eb19d --- /dev/null +++ b/docs/templates.txt @@ -0,0 +1,20 @@ +In the setup script, you can specify a directory that contains templates. + +This directory can contain: +pre.sh +post.sh +build.sh +failed.sh + +This can be helpful if you have multiple projects that build pretty much +exactly the same. Or are extremely similar and only require small +modifications, rather than writing the entire scripts from scratch. + +When using the setup.sh script, you can specify the directory by using +-t /path/to/templates. A template directory looks like this: + +templates/ +├── build.sh +├── failed.sh +├── post.sh +└── pre.sh |