Skip to content

Commit

Permalink
Fixed push command, so that you can pass options and the database in.
Browse files Browse the repository at this point in the history
  • Loading branch information
bohde committed Nov 14, 2010
1 parent eaa250c commit 93582a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/coffeeapp.coffee
Expand Up @@ -183,8 +183,9 @@ grindCoffee = ->
log "preparing #{releasePath} release:"
mkdirSync releasePath, 0700
if processRecursive '.', releasePath
process.chdir releasePath
exec 'couchapp push', printOutput
[options..., database] = process.argv[1..]
options = (options || []).join ' '
exec "couchapp push #{options} #{releasePath} #{database}", printOutput
process.cwd()

# Shows available options.
Expand Down

0 comments on commit 93582a0

Please sign in to comment.