e9066c9519
Basic working root link setup
2015-07-03 13:06:56 +01:00
f88fbba4ae
Update output of dotify-create-symlink command
2015-07-03 13:06:02 +01:00
246d9bac5e
Add absolute path helpers
2015-07-03 13:03:28 +01:00
264e362872
Namespace global variables
2014-08-21 03:02:35 +01:00
6bddccd199
Break main executable logic into functions
2014-08-21 03:00:40 +01:00
ad59c37cfb
Fix various issues with tests
2014-08-21 02:53:48 +01:00
5567a98bb3
Massive restructuring code-base
2014-03-19 21:03:31 +00:00
e49c930771
Make arguments simpler to deal with in action functions
...
<source> was an optional argument, and the second out of three passed,
meaning when only two arguments were given, the action functions would
have to know to use the second argument as <target>, instead of the the
third. Now the second argument is always <target>, and the <source>
argument is always the third, if given.
2014-03-08 13:32:24 +00:00
e0f0177301
Expand Dotfile syntax support to not require a <source> argument
...
Supported action syntax:
- `<action>: <source> -> <target>`
- `<action>: -> <target>`
- `<source> -> <target>`
- `-> <target>`
2014-03-08 13:29:07 +00:00
8fa09ea3c3
Change how plugins/actions work a bit
...
This includes both how they detect what the current
mode (install/uninstall/cleanup/etc) is, and also forces them to
register themselves with Dotify. The registration will be used for
running pre/post hooks.
2014-03-08 13:26:42 +00:00
33cff6fae4
Get rid of --force argument, don't need it yet (if ever)
2013-10-21 02:56:53 +01:00
80f47384c4
Make ROOT_DIR available in Dotfile
...
The ROOT_DIR variable is set to the directory the Dotfile is in.
2013-10-21 01:33:06 +01:00
bcf914026a
Execute compiled dotfile
...
...instead of just echoing it for debugging purposes.
2013-10-21 01:32:31 +01:00
8325708849
Flesh out basic structure of action plugins
2013-10-21 01:31:58 +01:00
fad6369ba7
Make dotify-action error out when given invalid actions
2013-10-21 01:30:42 +01:00
27f163e9fe
Have dotify-action attempt to execute actions
2013-10-21 01:02:05 +01:00
b4b22d9bf2
Add place-holder dotify-action command
2013-10-21 00:27:55 +01:00
65ccec0d8a
Add Dotfile commands
2013-10-21 00:26:46 +01:00
f5725f6229
Remove dotfile option parsing commands
...
They are no longer needed, as I'm going for a "compile Dotfile to
regular shell script" approach now, rather than a "manually parse the
shit out of the Dotfile".
2013-10-20 23:59:08 +01:00
8c6876db62
Add dynamically generated copyright year via build script
2013-10-20 23:58:04 +01:00
eb1f547ee1
Have internal compile-dotfile return an error if dotfile is missing
2013-10-20 22:52:50 +01:00
22468e0589
Let's be explicit rather than implicit
2013-10-20 22:51:41 +01:00
4cfc03ebc2
Add enable "clean" command
2013-10-04 09:09:27 +01:00
eeaf6b496c
Include uninstall and clean commands
2013-10-04 00:10:59 +01:00
bb978f4824
Update dotify-info command
2013-10-03 23:42:42 +01:00
4b84e35b2f
Reorganize helpers
2013-10-03 23:42:20 +01:00
1f2373bab3
Initial setup for the "run mode" concept
2013-10-03 23:41:56 +01:00
576a012332
Add --dry-run argument
2013-10-03 23:41:53 +01:00
615adc5a2e
Swap short argument between --dotfile and --force
2013-10-03 23:40:21 +01:00
1bfcaf8b8c
Add --force argument
2013-10-03 23:11:21 +01:00
43dba65eb9
Improve command parsing logic
2013-10-03 23:11:02 +01:00
b26031c4ea
Add dotify-compile command
2013-10-03 23:04:33 +01:00
583cd5f1b9
Include plugin placeholders
2013-10-03 23:03:10 +01:00
64413e301e
Add placeholders for default action plugins
2013-10-03 23:00:48 +01:00
4efde780d4
Reorganize internal functions
2013-10-03 22:59:38 +01:00
7594f1bc59
Update dotfile option parsing and complete tests
2013-07-05 00:57:53 +02:00
6ff5bf823b
Break dotfile option parsing functions into their own file
2013-07-01 12:36:20 +02:00
d933bdc77e
Trim Dotfile line before attempting to parse it
2013-07-01 12:20:35 +02:00
b42f3c0938
Ensure correct root_dir for dotfile being parsed
2013-07-01 12:20:11 +02:00
94131770b9
Expand Dotfile option parsing
2013-07-01 12:19:48 +02:00
f286a1b369
Updates to use global variables
2013-07-01 12:01:54 +02:00
5e83091579
Don't wrap $? in quotes
2013-06-28 13:56:38 +02:00
73f2f9f31b
Add some comments
2013-06-28 13:56:18 +02:00
5423c61c1c
Update locate-* functions to use global variables
2013-06-28 13:55:23 +02:00
2e9bd7ce53
Get rid of basically useless expand-path helper
2013-06-27 00:12:37 +02:00
291071f5b9
Comment tweaks
2013-06-27 00:09:10 +02:00
46f395fbb7
Improve argument/command handling
2013-06-27 00:08:17 +02:00
9d65d7831e
Rename run command to install
2013-06-27 00:06:57 +02:00
4568fe2d41
Update dotify-version and dotify-help commands
2013-06-27 00:05:01 +02:00
f6747efe1c
Fix typo
2013-06-27 00:02:40 +02:00