Skip to content

Commit

Permalink
Add explanation to the dynamic description task
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Sep 27, 2023
1 parent 58f529f commit 03d23e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infra/GutUsageExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@ gut make -o giellalt -r "(lang-|giella-)" private

# Task 11: Description w/ dynamic content

Use a script to generate the content, including dynamic parts that varies with the repo name, and use the script as follows:

```sh
gut set info -o giellalt -r 'lang-XXX' --des-script giella-core/devtools/gut-scripts/reponame2description.sh
gut set info -o giellalt -r '^lang-' --des-script giella-core/devtools/gut-scripts/reponame2description.sh
```

**NB!** Make sure there is no trailing newline at the end of the output of the script, or it will fail. That is, use `printf`, *not* `echo`.
Expand Down

0 comments on commit 03d23e1

Please sign in to comment.