Documentation! + some little fixes to add consistency between components

This commit is contained in:
Keegan
2016-02-16 01:03:21 -08:00
parent b0ac596543
commit 24bfc54991
27 changed files with 724 additions and 1010 deletions
+5
View File
@@ -14,6 +14,7 @@ var autoprefixer = require('gulp-autoprefixer');
var uglify = require('gulp-uglify');
var sassify = require('sassify');
var autoprefixify = require('./src/scripts/vendor/autoprefixify');
var insert = require('gulp-insert');
var sassIncludePaths = [].concat(
require('bourbon').includePaths,
@@ -35,6 +36,9 @@ var autoprefixerOptions = {
};
var stringifyOptions = ['.html', '.tpl'];
var versionMessage = '/* Clay - https://github.com/pebble/clay - Version: ' +
require('./package.json').version +
' - Build Date: ' + new Date().toISOString() + ' */\n';
gulp.task('clean-js', function() {
return del(['tmp/config-page.js']);
@@ -90,6 +94,7 @@ gulp.task('clay', ['inlineHtml'], function() {
.pipe(source('clay.js'))
.pipe(buffer())
.pipe(uglify())
.pipe(insert.prepend(versionMessage))
.pipe(gulp.dest('./dist/'));
});