@@ -34,12 +34,10 @@ configuration and boilerplate files in the
34
34
[ AAC Tactics] ( https://github.com/coq-community/aac-tactics )
35
35
project are generated as follows:
36
36
``` shell
37
- mustache meta.yml ../templates/default.nix.mustache > default.nix
38
37
mustache meta.yml ../templates/README.md.mustache > README.md
39
- mustache meta.yml ../templates/.travis.yml.mustache > .travis.yml
40
38
mustache meta.yml ../templates/coq.opam.mustache > coq-aac-tactics.opam
41
- mkdir -p .github/workflows
42
- mustache meta.yml ../templates/coq-action. yml.mustache > .github/workflows/coq-action .yml
39
+ mustache meta.yml ../templates/default.nix.mustache > default.nix
40
+ mustache meta.yml ../templates/.travis. yml.mustache > .travis .yml
43
41
```
44
42
Other projects using the templates in a similar way include
45
43
[ Chapar] ( https://github.com/coq-community/chapar ) and
54
52
../templates/generate.sh
55
53
git add < the_generated_files>
56
54
```
55
+ Regarding continuous integration, the ` generate.sh ` script will create:
56
+ * a [ Travis CI] ( https://docs.travis-ci.com/ ) configuration
57
+ [ (based on opam + Nix)] ( ./.travis.yml.mustache ) ,
58
+ * or a [ GitHub Action] ( https://help.github.com/en/actions ) workflow
59
+ [ (based on opam)] ( ./coq-action.yml.mustache ) ,
60
+
61
+ whether ` meta.yml ` contains ` travis: true ` or ` action: true ` .
62
+
57
63
Keeping generated files under version control is not ideal, but ` README.md ` has to exist,
58
64
and generally this is a common practice when using build systems such as Autotools.
59
65
To get a ` mustache ` tool in, e.g., NixOS, you can run ` nix-env -i mustache-go ` .
0 commit comments