jo / grunt-couch

Build and publish Couchapps and CouchDB design documents with grunt. Simple.
MIT License
48 stars 19 forks source link

Push to cloudant succeeds but doesn't actually do anything #12

Closed afhammad closed 9 years ago

afhammad commented 10 years ago

I am trying to couch-push to cloudant. I get:

1 database deployed

Done, without errors.

But this seems to be the output regardless of the url in "files"

prod: { files: { 'http://whaterver@cloudant.com/db': 'app.json' } }

jo commented 10 years ago

Thanks for reporting! I will look into this.

afhammad commented 10 years ago

on verbose it says there is no src:

Files: [no src] -> http://whaterver@cloudant.com/db

if that helps at all

jo commented 10 years ago

Does the database actually gets updated?

afhammad commented 10 years ago

ok it seems the path to app.json wasn't correct, changed it to 'tmp/app.json' and it worked.

Should probably show an error

jo commented 10 years ago

Yes, so I assume its an issue with the output (should inform about failed database connection), right?

afhammad commented 10 years ago

Yeh that would be helpful. Perhaps even update the Readme, as it uses 'tmp/app.json' in one place and 'app.json' in another. I'd be happy to do a PR a little later.

jo commented 10 years ago

That would be great.

jo commented 9 years ago

Done with https://github.com/jo/grunt-couch/pull/13