Closed doingweb closed 9 years ago
So awesome. I only just started using AWS S3 today to try out hosting my app's front end. It's like you guys knew I was coming. Thanks. ;) +1
Looks great! :+1: If you could fix the minor nitpick I had, I'll be happy to merge!
(build failed after my first update)
Ah yes, those paths in the test were explicitly Windows paths, so running them elsewhere won't work if we're using path.sep
. I'm thinking the best solution is to just define the test as a normalization of the paths, and make sure they get run under both environments.
Unfortunately, TravisCI doesn't currently support running builds under Windows, but it looks like it's in the pipeline: travis-ci/travis-ci#216.
:star:
I'm thinking the best solution is to just define the test as a normalization of the paths, and make sure they get run under both environments.
Yeah, I think the current test suite would cover the normalization if we could just run them on a Windows machine as well.
Oh, one more thing. I didn't notice on the first look because I've usually made this automatic, but double quotes please. ;) I should add JSCS to this project as well so that people don't have to think about it.
Whoops! How silly, I noticed that convention when I was writing the test body, but forgot it everywhere else. Pushing :D
TYVM! :+1:
Released v0.1.1 on npm.
This mirrors the fix made in pgherveou/gulp-awspublish#36 for
initFile()
, and prevents files from being uploaded to the bucket root with backslashes throughout the filename instead of into their proper folders. Since this plugin goes in the pipeline beforegulp-awspublish
, the other fix is bypassed and we need to take care of it here.