diff --git a/bower.json b/bower.json index ee5de86..792acee 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "blockrain", "version": "0.1.0", "description": "Add a game of tetris to your site", - "main": "build/blockrain.jquery.min.js", + "main": "dist/blockrain.jquery.min.js", "repository": { "type": "git", "url": "git://github.com/Aerolab/blockrain.js.git" @@ -20,14 +20,12 @@ ], "ignore": [ "assets", - "dist", - "src", + "dist/blockrain.zip", ".gitignore", "Copyright", "gulpfile.js", "index.html", - "LICENSE.txt", "package.json", "node_modules", diff --git a/build/README.md b/dist/README.md similarity index 100% rename from build/README.md rename to dist/README.md diff --git a/build/blockrain.css b/dist/blockrain.css similarity index 100% rename from build/blockrain.css rename to dist/blockrain.css diff --git a/build/blockrain.jquery.js b/dist/blockrain.jquery.js similarity index 100% rename from build/blockrain.jquery.js rename to dist/blockrain.jquery.js diff --git a/build/blockrain.jquery.min.js b/dist/blockrain.jquery.min.js similarity index 100% rename from build/blockrain.jquery.min.js rename to dist/blockrain.jquery.min.js diff --git a/dist/blockrain.zip b/dist/blockrain.zip index 0a9292f..2262d62 100644 Binary files a/dist/blockrain.zip and b/dist/blockrain.zip differ diff --git a/gulpfile.js b/gulpfile.js index 83ca1cb..00e7e65 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,28 +19,28 @@ gulp.task('js', function () { return gulp.src(['./src/blockrain.jquery.libs.js', './src/blockrain.jquery.src.js', './src/blockrain.jquery.themes.js']) .pipe(concat('blockrain.jquery.js')) .pipe(header(getCopyright(), {version: getVersion()})) - .pipe(gulp.dest('./build')) + .pipe(gulp.dest('./dist')) .pipe(uglify({preserveComments:'none'})) .pipe(concat('blockrain.jquery.min.js')) .pipe(header(getCopyright(), {version: getVersion()})) - .pipe(gulp.dest('./build')); + .pipe(gulp.dest('./dist')); }); gulp.task('css', function () { // CSS return gulp.src(['./src/blockrain.css']) - .pipe(gulp.dest('./build')); + .pipe(gulp.dest('./dist')); }); gulp.task('readme', function () { // Readme return gulp.src(['./README.md']) - .pipe(gulp.dest('./build')); + .pipe(gulp.dest('./dist')); }); gulp.task('dist', function () { // Create a ZIP File - return gulp.src('./build/*') + return gulp.src(['./dist/blockrain.jquery.js', './dist/blockrain.jquery.min.js', './dist/blockrain.css']) .pipe(zip('blockrain.zip')) .pipe(gulp.dest('./dist')); });