Blame view
tests/cleanup.t
989 Bytes
|
c46b6673e
|
1 2 3 4 |
Firstly, no plugins, nothing to cleanup.
$ antigen-cleanup --force
You don't have any bundles.
|
|
01590aa28
|
5 6 7 8 9 10 11 12 13 |
Load a plugin.
$ antigen-bundle $PLUGIN_DIR
Cloning into '*'... (glob)
done.
Check the listing.
$ antigen-list
|
|
0efbfc326
|
14 |
*/test-plugin / plugin true (glob) |
|
01590aa28
|
15 |
|
|
c46b6673e
|
16 17 18 19 |
Nothing should be available for cleanup.
$ antigen-cleanup --force
You don't have any unidentified bundles.
|
|
01590aa28
|
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
Clear out the bundles record.
$ _ANTIGEN_BUNDLE_RECORD=""
Check the listing, after clearing the record.
$ antigen-list
You don't have any bundles.
[1]
Confirm the plugin directory exists.
$ ls dot-antigen/repos | wc -l
1
Do the cleanup.
$ antigen-cleanup --force
You have clones for the following repos, but are not used.
*/test-plugin (glob)
Deleting clone for */test-plugin... done. (glob)
Check the listing, after cleanup.
$ antigen-list
You don't have any bundles.
[1]
Confirm the plugin directory does not exist after cleanup.
$ ls dot-antigen/repos | wc -l
0
|