1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2024-10-27 20:34:27 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Tim Byrne
9824de5410
Change template indicator to ##yadm.j2 2017-03-31 16:42:51 -05:00
Jan Schulz
a479b70d8a Add jinja processing to alt command
With the new functionality, when the 'alt' command is called (or automatically
triggered), any file with a name ending in '##yadm_tmpl' is treated as a jinja
template. The template is processed by envtpl and the result is written to a
file without the '##yadm_tmpl' name. The variables passed into the template
processing are

  YADM_CLASS
  YADM_OS
  YADM_HOSTNAME
  YADM_USER

These variables are set according to the normal rules for
CLASS, OS, HOSTNAME, and USER during the alt processing.
2017-03-26 03:49:24 +02:00
Tim Byrne
297df5d231
Add tests for classes with a range of names (#51) 2017-03-25 11:32:06 -05:00
Tim Byrne
d80bbff2b9
Acceptance tests for encrypt globs and paths with space (#53, #54) 2017-03-24 17:37:40 -05:00
Tim Byrne
3f1a8364ae
Add tests for bootstrap command (#42) 2017-01-23 17:53:40 -06:00
Tim Byrne
d7abc7ff41
Create tests for class support in alt-links (#21) 2017-01-20 00:13:56 -06:00
Tim Byrne
1534420106
Acceptance tests for overriding OS/Host/User (#21) 2017-01-18 19:51:13 -06:00
Tim Byrne
3ea710317a
Add acceptance tests for alt-link wildcards (#43) 2017-01-18 01:46:51 -06:00
Tim Byrne
a25a180b88
Add acceptance tests for alt-link delimiters (#49)
Delimiters other than `.` should not be used.
This adds some test with delimiter `_`.
2017-01-16 17:51:48 -06:00
Tim Byrne
5107198422
Add acceptance tests for white space alt paths (#36) 2017-01-06 07:50:36 -06:00
Tim Byrne
85abcf981c
Acceptance tests for symlinked directories (#17) 2016-08-14 23:52:54 -05:00
Tim Byrne
f48dea6879 Resolve shellcheck errors in bats tests 2016-04-07 08:16:22 -05:00
Tim Byrne
d2cd3b1b26 Add tests
Tests will be run using `bats`.
2016-04-07 08:14:13 -05:00