Eric West
cf9058be04
Track makes entries in .manifest
...
When a user tracks a file or directory that is in
a nested folder, Homesick creates a .manifest in the
user's castle (if there isn't one already) and adds
an entry listing the file or directory's parent
directory (if it isn't already listed).
2013-11-23 19:36:34 +01:00
Eric West
234532ebef
Specs for track
2013-11-23 19:36:34 +01:00
Jason Buckner
123e6cf82d
splits up castle commit from castle push for more fine-grained control
2013-11-23 19:34:08 +01:00
Jason Buckner
f18a4dc16f
add homesick push to readme, a placeholder test, and removed the all option from git push
2013-11-23 19:34:07 +01:00
Thilko Richter
8a41dca46d
destroy action implemented
2012-09-06 07:38:54 +02:00
Jacob Buys
9ced2921d9
Fix overriding existing symlinks that point to directories.
2011-08-23 22:04:00 +02:00
Jacob Buys
fa99a89bbf
Use RSpec's let feature instead of instance variables.
2011-08-21 22:36:50 +02:00
Jacob Buys
f1a02b8afa
Added support for linking non-dotfiles.
2011-08-21 22:22:23 +02:00
Jacob Buys
6e4e60fc64
Silence thor output during tests.
2011-08-21 22:19:06 +02:00
Jacob Buys
4f5e77d189
Refactored tests to use given_castle and fewer mocks.
2011-08-21 22:18:55 +02:00
Jacob Buys
4fa7ce416b
Made specs for list pass, refactored track to use given_castle.
2011-08-21 22:04:57 +02:00
Jacob Buys
4d9f75b7b0
Extract common setup into spec_helper, add given_castle helper.
2011-08-21 21:54:25 +02:00
Josh Nichols
e19617be2f
Don't try to symlink a castle to itself. Fixes #14
2011-05-30 21:04:41 -04:00
Josh Nichols
8c1f0bd05c
Add placeholder specs to fill out eventually.
2011-05-30 20:14:04 -04:00
Joshua Nichols
f82dc905a2
Tweaks to track. Don't add & commit newly tracked file. Also fix tests to not be spitting out to stdout.
2010-10-27 08:38:30 -04:00
j.c.sackett
58767454b3
Added track command.
...
* Moves a specified file into the specified castle.
* Symlinks it into its original position.
Signed-off-by: Joshua Nichols <josh@technicalpickles.com >
2010-10-27 08:37:56 -04:00
Jacob Atzen
f9c351f941
Handle cloning of uri's based on ssh aliases like host:repos
2010-08-17 10:14:19 +02:00
Jacob Atzen
0440cd672d
Don't try to clone uri's without a corresponding destination
...
The code throws the exception
undefined method `join' for nil:NilClass
if destionation doesn't exist - so it's better to not call git_clone if
destination is not present.
2010-08-17 10:12:59 +02:00
Joshua Nichols
3efee55f03
Fix listing of github-style cloned repos.
2010-05-18 20:42:45 -04:00
Joshua Nichols
9a22513ba4
Allow symlinking existing directories into repos, instead of cloning.
2010-04-01 21:19:25 -04:00
Joshua Nichols
5ac2a0739a
Clone github repos into username/repo instead of username_repo, for more consistent use with symlink.
2010-04-01 21:08:36 -04:00
Joshua Nichols
0579f94430
Moving towards testing list more.
2010-04-01 20:59:24 -04:00
Joshua Nichols
c50464e366
Added more clone specs.
2010-04-01 20:17:47 -04:00
Joshua Nichols
c5f8563f71
Shuffled specs around.
2010-04-01 20:14:29 -04:00
Will Farrington
23e318b001
Started adding tests.
2010-03-04 01:34:14 -05:00
Joshua Nichols
0277901561
SPIIIIIKE
2010-03-04 00:19:35 -05:00