1
0
Fork 0
mirror of synced 2024-11-22 16:25:34 -05:00
Commit graph

31 commits

Author SHA1 Message Date
Anish Athalye
9ff1db1672 Change default Python version in tests to 3.6.4 2018-03-27 18:16:55 -04:00
Anish Athalye
04fb8adbd9 Add instructions for installing test env on macOS 2018-03-27 17:42:42 -04:00
Anish Athalye
f8f46960f4 Merge branch 'nagromc/tests-instructions' 2018-03-27 17:41:14 -04:00
Morgan Courbet
174949d1fc Add instructions for installing test env on Debian 2018-03-27 17:41:07 -04:00
Anish Athalye
46b17366a3 Update to Debian 9 (Stretch) for testing 2018-03-27 17:26:34 -04:00
Anish Athalye
f1e8297255 Fix bug with shell defaults 2017-06-27 21:27:50 -07:00
Anish Athalye
53eb3851d1 Make launcher find python binary 2017-04-19 08:40:15 -04:00
Anish Athalye
32aa475903 Number repeated names for easier identification 2017-04-18 22:50:28 -04:00
Anish Athalye
bf2a9330da Merge branch 'dein0s/feature/clean_plugin_add...' 2017-03-26 11:50:41 -04:00
Anish Athalye
190c800272 Fix tests for Travis CI
This patch makes it so the `travis_cleanup` function removes broken
symlinks properly.
2017-03-26 11:50:01 -04:00
dein0s
a2a9e1fb91 Add force option to clean plugin 2017-03-26 11:19:26 -04:00
Anish Athalye
2abfa7fd91 Add tests for more Python versions 2017-03-06 15:20:27 -05:00
Casey Rodarmor
d2e20c77db Allow empty link sources
If the source for a link is null, use the basename of the destination
with a single leading '.' removed, if present.
2016-11-23 14:11:45 -05:00
Anish Athalye
b482cbda58 Make force only delete files when target exists 2016-11-17 14:12:22 -05:00
Anish Athalye
28959a3f31 Fix user expansion in link source
Previous to this patch, having a config like the following would not
work properly:

    - link:
        ~/a: ~/b

This was because the '~' was expanded on the left hand side (the link
target), but not the right hand side (the link source). It was necessary
to use a workaround like this:

    - link:
        ~/a: $HOME/b

This was because variable expansion was being done, but user expansion
was not being done.

This commit adds support for using '~' in the link source.
2016-08-17 18:27:47 -07:00
Anish Athalye
a836261d02 Fix variable expansion in extended syntax 2016-08-02 10:15:27 -07:00
Anish Athalye
191559601a Fix linking when using both relink and relative
Prior to this patch, the following config led to incorrect behavior:

    - link:
        ~/.folder/file:
          path: file
          create: true
          relative: true
          relink: true

Prior to the change, running the config the first time would result in
expected behavior. However, running the config for the second time would
result in deletion and re-creation of the link (even when the link is
correct).

This patch improves the interaction of relink and relative, taking
relative paths into account when checking the validity of existing links
in the `_delete()` method.
2016-04-07 14:45:46 -04:00
Anish Athalye
56aeffa387 Switch to Debian for testing in Vagrant 2016-03-05 02:07:01 -05:00
Anish Athalye
f52bbd1eec Add default options
This feature was implemented with feedback from Aleks Kamko
<aykamko@gmail.com> and Casey Rodarmor <casey@rodarmor.com>.
2016-03-03 09:42:50 -05:00
Anish Athalye
daf8d82e02 Add functionality to create relative links
This commit adds an option to the extended configuration syntax for
linking files and directories. Enabling the relative option makes it so
that symbolic links are created with relative paths instead of absolute
paths.
2016-02-14 23:06:52 -05:00
Anish Athalye
c402396c58 Add documentation and tests for plugins 2016-02-06 15:23:39 -05:00
Benjamin Chrétien
9670a7b6fa Travis: add guard to test_travis 2016-01-18 13:14:56 +09:00
Anish Athalye
80c2d83855 Move Travis CI test script 2016-01-16 16:43:58 -05:00
Benjamin Chrétien
07a26a843e Add Travis CI support
The test suite has been slightly modified to allow running tests without
Vagrant on Travis.
2016-01-16 17:34:52 +09:00
Anish Athalye
c48d16cbce Use standard library JSON parser for JSON files
This patch reverts the changes to the README made in
57265f78b4 and makes it so that Dotbot
supports JSON files with tab characters.
2016-01-13 11:29:12 -05:00
Anish Athalye
5babc8f562 Add ability to test with specific Python versions 2015-10-22 22:08:35 -04:00
Anish Athalye
fd7f3b8551 Add environment variable expansion in link paths
This feature was proposed by Brian Knobbs <brian@redlattice.com>.
2015-05-12 20:28:58 -04:00
Anish Athalye
53c26ba9e6 Clean up code 2015-05-06 10:38:58 -04:00
Anish Athalye
b0d09b7047 Make driver display file names of tests 2015-05-06 10:04:32 -04:00
Anish Athalye
b1f9251e1f Update editorconfig 2015-05-06 08:39:10 -04:00
Anish Athalye
eeab507d15 Add testing framework and tests 2015-05-05 20:11:46 -04:00