Skip to content

Commit

Permalink
Merge branch '0-1'
Browse files Browse the repository at this point in the history
Mostly a documentation and cleanup version.
  • Loading branch information
Mike Howard committed Sep 9, 2011
2 parents ed15672 + 4a53bee commit c96e2f1
Show file tree
Hide file tree
Showing 8 changed files with 329 additions and 180 deletions.
10 changes: 9 additions & 1 deletion Readme.md
@@ -1,4 +1,4 @@
# TddDeploy - 0.1.10
# TddDeploy - 0.1.11

**This is a prototype. It works, but isn't pretty and polished.**

Expand Down Expand Up @@ -47,3 +47,11 @@ but there are no guarantees.

These tests run on my system with a virtual host running Arch Linux with host name 'arch'
and a bunch of accounts. The tests won't work without a conforming setup.

# Known Bugs

* running only failed tests sometimes miscounts and reports tests as duplicated. Running
all tests fixes this (eventually)
* server spits out lots of useless error messages. This will probably be fixed when we convert
to using Sinatra

7 changes: 7 additions & 0 deletions TODO
@@ -0,0 +1,7 @@
TODO add code to detect when Configurator is run
TODO break out append_methods into separate module & split out tests
DONE modify configurator to flush config files on hosts
TODO modify display to make installation buttons Red or something when configurator has run
TODO figure out why the number of tests isn't stable
TODO look at sinatra integration
TODO move tdd_deploy_configs to <app>/lib/tdd_deploy/
4 changes: 4 additions & 0 deletions lib/tdd_deploy/capfile.rb
Expand Up @@ -35,6 +35,10 @@ def servers role
# for rails apps. May be called multiple times
def load_recipes(path = './config/deploy.rb')
@capfile_config.load path
rescue LoadError => e
msg = "Unable to load capistrano config file: #{path} - #{e}"
raise LoadError.new msg
end

end
end

0 comments on commit c96e2f1

Please sign in to comment.