aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMarak <[email protected]>2014-09-22 11:27:08 +0200
committerMarak <[email protected]>2014-09-22 11:27:08 +0200
commit2aa00986923a4eee359b7a21520956f436fa8917 (patch)
tree733f4eebe3021b8c35f3928cc0e4a9192e417f7c /build
parentdfd9774fbe229a3f30b8fdc348a84671da210b6e (diff)
downloadfaker-2aa00986923a4eee359b7a21520956f436fa8917.tar.xz
faker-2aa00986923a4eee359b7a21520956f436fa8917.zip
[dist] Updated browser example. Moved browser example into new directory.
Diffstat (limited to 'build')
-rw-r--r--build/gulpfile.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/gulpfile.js b/build/gulpfile.js
index 3c340111..9c933d53 100644
--- a/build/gulpfile.js
+++ b/build/gulpfile.js
@@ -29,8 +29,8 @@ gulp.task('browser-package', function() {
./build/faker.js
./build/faker.min.js
- ../examples/js/faker.js
- ../examples/js/faker.min.js
+ ../examples/browser/js/faker.js
+ ../examples/browser/js/faker.min.js
*/
@@ -46,12 +46,12 @@ gulp.task('browser-package', function() {
.pipe(browserified)
.pipe(rename('faker.js'))
.pipe(gulp.dest('build/'))
- .pipe(gulp.dest('../examples/js'))
+ .pipe(gulp.dest('../examples/browser/js'))
.pipe(rename({ extname: ".min.js" }))
.pipe(uglify())
.pipe(gulp.dest('build/'))
- .pipe(gulp.dest('../examples/js'))
- .pipe(rename('../examples/js/faker.min.js'));
+ .pipe(gulp.dest('../examples/browser/js'))
+ .pipe(rename('../examples/browser/js/faker.min.js'));
});