add variant sample
This commit is contained in:
parent
cd19bd75b3
commit
1c38b53ae2
12 changed files with 34 additions and 0 deletions
1
variant_path/templates/Tupfile
Normal file
1
variant_path/templates/Tupfile
Normal file
|
@ -0,0 +1 @@
|
|||
: |> ./generate_header.sh > %o |> header.txt ./<header_group>
|
2
variant_path/templates/footer.txt
Normal file
2
variant_path/templates/footer.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
--
|
||||
the end
|
8
variant_path/templates/generate_header.sh
Executable file
8
variant_path/templates/generate_header.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cat << EOF
|
||||
YEAR $(date +%Y)
|
||||
====
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue