[go: up one dir, main page]

Skip to content

Commit

Permalink
Add configuration for AWS release
Browse files Browse the repository at this point in the history
  • Loading branch information
ckundo committed Jan 15, 2017
1 parent 63a06ea commit 7763db5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist/*
.awspublish*
*.log
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ gulp.task("test", function(callback) {
gulp.task("publish", function() {
var publisher = awspublish.create({
"params": {
"Bucket": "accesslint"
"Bucket": "accesslint-js"
},
});

return gulp.src('./dist/accesslint.js')
return gulp.src('./dist/accesslint-*.js')
.pipe(publisher.publish())
.pipe(publisher.cache())
.pipe(awspublish.reporter());
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
var path = require("path");
var PACKAGE = require("./package.json");

module.exports = {
entry: [
"./src/index",
],
output: {
path: path.join(__dirname, "dist"),
filename: "accesslint.js"
filename: PACKAGE.name + "-" + PACKAGE.version + ".js"
},
plugins: [],
module: {
Expand Down

0 comments on commit 7763db5

Please sign in to comment.