Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added config to include hidden folders in the S3 upload #70

Merged
merged 1 commit into from
Sep 13, 2016

Conversation

habdelra
Copy link
Contributor

@habdelra habdelra commented Sep 9, 2016

What Changed & Why

I added a config property so that we can upload files in hidden folders. We're adding apple pay to our application and it requires a folder called .well-known/ to exist. It looks like you need to tell the minimatch npm module that you want to include hidden folders as part of the matching criteria, otherwise it will ignore files in folders that are prefixed by .

@@ -55,8 +56,9 @@ module.exports = {
var manifestPath = this.readConfig('manifestPath');
var cacheControl = this.readConfig('cacheControl');
var expires = this.readConfig('expires');
var dotFolders = this.readConfig('dotFolders');
Copy link
Member

@achambers achambers Sep 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very very minor, OCD based, nitpick, but mind lining that = sign up for us please @habdelra ? ;)

@achambers
Copy link
Member

Thanks @habdelra . Great stuff. Mind making the tests pass please? Happy to merge it in then.

@ghedamat ghedamat merged commit 023a3ef into ember-cli-deploy:master Sep 13, 2016
@ghedamat
Copy link
Contributor

ghedamat commented Sep 13, 2016

thanks @habdelra !
/cc @achambers

@lukemelia
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants