Tim Byrne
557ce93fab
Add tests for hooks
7 years ago
Tim Byrne
5293db986a
Support `YADM_DISTRO` in Jinja templates ( #68 )
7 years ago
Tim Byrne
f8e0bd593d
Support `yadm.cygwin-copy` configuration ( #62 )
...
With `yadm.cygwin-copy` set to "true", alternate files will be copies
instead of symlinks, but only when running on Cygwin.
7 years ago
Tim Byrne
9824de5410
Change template indicator to `##yadm.j2`
8 years ago
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.
8 years ago
Tim Byrne
297df5d231
Add tests for classes with a range of names ( #51 )
8 years ago
Tim Byrne
d80bbff2b9
Acceptance tests for encrypt globs and paths with space ( #53 , #54 )
8 years ago
Tim Byrne
3f1a8364ae
Add tests for bootstrap command ( #42 )
8 years ago
Tim Byrne
d7abc7ff41
Create tests for class support in alt-links ( #21 )
8 years ago
Tim Byrne
1534420106
Acceptance tests for overriding OS/Host/User ( #21 )
8 years ago
Tim Byrne
3ea710317a
Add acceptance tests for alt-link wildcards ( #43 )
8 years ago
Tim Byrne
a25a180b88
Add acceptance tests for alt-link delimiters ( #49 )
...
Delimiters other than `.` should not be used.
This adds some test with delimiter `_`.
8 years ago
Tim Byrne
5107198422
Add acceptance tests for white space alt paths ( #36 )
8 years ago
Tim Byrne
85abcf981c
Acceptance tests for symlinked directories ( #17 )
8 years ago
Tim Byrne
f48dea6879
Resolve shellcheck errors in bats tests
9 years ago
Tim Byrne
d2cd3b1b26
Add tests
...
Tests will be run using `bats`.
9 years ago