Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed May 28, 2017
1 parent 94e43b4 commit a2c89fc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 228 deletions.
2 changes: 1 addition & 1 deletion css/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 3 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var jade = require('gulp-jade');
var babel = require('gulp-babel');
var minify = require('gulp-minify');
var browserSync = require('browser-sync').create();

/**
Expand All @@ -25,16 +26,6 @@ gulp.task('sass', function () {
.pipe(browserSync.stream());
});

/**
* Build jade files to html
*/
gulp.task('jade', function () {
// return gulp.src('*.jade')
// .pipe(jade())
// .pipe(gulp.dest('.'))
// .pipe(browserSync.stream());
});

/**
* compile es6
*/
Expand All @@ -43,9 +34,11 @@ gulp.task('babel', function () {
.pipe(babel({
presets: ['es2015']
}))
.pipe(minify())
.pipe(gulp.dest('js'));
});


/**
* Watch scss files for changes & recompile
* Watch html/md files, run jekyll & reload BrowserSync
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<script src="lib/zepto.min.js"></script>
<script src="lib/vue.js"></script>

<script src="js/index.js"></script>
<script src="js/index-min.js"></script>

<script type="text/javascript">
var _gaq = _gaq || [];
Expand Down
Loading

0 comments on commit a2c89fc

Please sign in to comment.