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

No debug output when running grunt s3 #38

Closed
jansepar opened this issue Feb 25, 2013 · 6 comments
Closed

No debug output when running grunt s3 #38

jansepar opened this issue Feb 25, 2013 · 6 comments

Comments

@jansepar
Copy link

I'm having trouble getting the s3 grunt task working. I'm currently on grunt 0.4.0. Here is what i have in my config:

    s3: {
        options: {
            key: '<%= localConfig.aws.key %>',
            secret: '<%= localConfig.aws.secret %>',
            bucket: '<%= localConfig.aws.bucket %>',
            access: "public-read"
        },
        deploy: {
            options: {},
            upload: [
                {
                    src: "build/example-<%= pkg.version %>.min.js",
                    dest: "shawn/",
                    gzip: true
                },
                {
                    src: "build/example-<%= pkg.version %>.js",
                    dest: "shawn/"
                }
            ]
        }
    }

The keys are definitely being substituted properly. This is the output:

$ grunt s3
Running "s3" task

Done, without errors.

Without any debug info it's a bit hard to figure out what is wrong. Any idea what's wrong?

@pifantastic
Copy link
Owner

I'm not near a computer, but maybe try "grunt s3:deploy"?

@jansepar
Copy link
Author

Tried that as well. Same output unfortunately!

@pifantastic
Copy link
Owner

Are you using master, or the latest npm version? Multitask support is only in master.

@jansepar
Copy link
Author

Ahhhhhh, that is it! I was confused because when I followed your instructions on master, the version that got stored in my package.json was 0.1.0, which matched the version in your package.json in master, so I assumed the instructions were for the version I installed.

Thanks for the quick response :)

@pifantastic
Copy link
Owner

Ah, cool. My apologies. We need to get the docs updated ASAP to avoid this type of confusion. I'll get the version in master bumped soon.

@pifantastic
Copy link
Owner

Bumped the version in master to avoid a bit of the confusion. Still need to have separate docs for 0.1.X. I'm creating an issue for that.

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

No branches or pull requests

2 participants