Commit Graph

94 Commits

Author SHA1 Message Date
f8a0ad4ea3 Sanitize unfinished link action integration test a bit 2014-08-21 02:54:01 +01:00
ad59c37cfb Fix various issues with tests 2014-08-21 02:53:48 +01:00
382a174355 Small fix to Makefile 2014-08-21 02:52:51 +01:00
3cc242429b Update test-helper.sh 2014-08-21 02:00:34 +01:00
71bc4d5a44 Change suffix of test files to comply with test-runner.sh defaults 2014-08-21 02:00:06 +01:00
119cf76bff Update/cleanup Makefile, and switch to test-runner.sh 2014-08-21 01:59:12 +01:00
6dfc81c066 Update stub.sh dependency 2014-03-20 00:15:45 +00:00
a99d7003fe Make test.sh output more readable 2014-03-20 00:15:24 +00:00
5567a98bb3 Massive restructuring code-base 2014-03-19 21:03:31 +00:00
4974654e75 Use specific versions of assert.sh and stub.sh 2014-03-16 02:16:51 +00:00
21c25b3d6c Don't include assert.sh or stub.sh in git repo
Have make-file download them when running make test.
2014-03-16 01:09:05 +00:00
ae9a78a9fd Rebuild main binary from updated sources 2014-03-08 13:36:57 +00:00
6cf5366648 Update comments in example Dotfile 2014-03-08 13:35:22 +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
3e6f1b02c3 Fix error in readme 2013-10-21 09:35:34 +01:00
33cff6fae4 Get rid of --force argument, don't need it yet (if ever) 2013-10-21 02:56:53 +01:00
ebfdd1cc6a Use fancy unicode in readme 2013-10-21 02:17:18 +01:00
9fea673eb8 Small addition to readme 2013-10-21 02:14:00 +01:00
d2ace75129 Add basic and shitty short-summary to readme
So I have a target to aim for :)
2013-10-21 02:09:29 +01:00
0c7da032a2 Update main binary 2013-10-21 01:34:20 +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
f7e3b69dc4 Rebuild bin/dotify 2013-10-20 22:54:18 +01:00
9150d996a7 Add tests for compile-dotfile internal command 2013-10-20 22:53:35 +01:00
4447397c10 Keep things more consistent 2013-10-20 22:53:22 +01:00
eb1f547ee1 Have internal compile-dotfile return an error if dotfile is missing 2013-10-20 22:52:50 +01:00
3680d280ca Update example Dotfile 2013-10-20 22:52:22 +01:00
22468e0589 Let's be explicit rather than implicit 2013-10-20 22:51:41 +01:00
7dd4458031 Rename test/run.sh to test.sh 2013-10-20 22:51:08 +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
2c72a369e5 Update parse-dotfile-options test 2013-10-03 23:55:15 +01:00
7dc86a3843 Fix load paths in test files 2013-10-03 23:54:53 +01:00
e682ade7a8 Add new binary build 2013-10-03 23:42:49 +01:00
7ca1911636 Keep things consistent 2013-10-03 23:42:46 +01:00
02ad286591 Break stub/restore test-helpers into their own stub.sh file 2013-10-03 23:42:45 +01:00
6e2041fe21 Update example Dotfile 2013-10-03 23:42:44 +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