From 18dbb9f1130274d5b6632a16d25e0113d2828a69 Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Tue, 3 Jul 2018 09:27:07 -0400 Subject: [PATCH] Try to allow copying dist --- .gitignore | 3 +- .travis.yml | 4 +-- docs/ocean.css | 74 -------------------------------------------------- gulpfile.js | 5 ++-- 4 files changed, 6 insertions(+), 80 deletions(-) delete mode 100644 docs/ocean.css diff --git a/.gitignore b/.gitignore index 9ac82954e..ef0bafdb9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ node_modules/ bower_components/ .DS_Store -.idea -dist/ \ No newline at end of file +.idea \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index d193173f1..660fb082e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,9 @@ node_js: - '10' cache: yarn install: yarn -script: +before_script: - yarn lint -after_success: +script: - yarn build deploy: - provider: npm diff --git a/docs/ocean.css b/docs/ocean.css deleted file mode 100644 index 5901581b4..000000000 --- a/docs/ocean.css +++ /dev/null @@ -1,74 +0,0 @@ -/* Ocean Dark Theme */ -/* https://github.com/gavsiu */ -/* Original theme - https://github.com/chriskempson/base16 */ - -/* Ocean Comment */ -.hljs-comment, -.hljs-quote { - color: #65737e; -} - -/* Ocean Red */ -.hljs-variable, -.hljs-template-variable, -.hljs-tag, -.hljs-name, -.hljs-selector-id, -.hljs-selector-class, -.hljs-regexp, -.hljs-deletion { - color: #bf616a; -} - -/* Ocean Orange */ -.hljs-number, -.hljs-built_in, -.hljs-builtin-name, -.hljs-literal, -.hljs-type, -.hljs-params, -.hljs-meta, -.hljs-link { - color: #d08770; -} - -/* Ocean Yellow */ -.hljs-attribute { - color: #ebcb8b; -} - -/* Ocean Green */ -.hljs-string, -.hljs-symbol, -.hljs-bullet, -.hljs-addition { - color: #a3be8c; -} - -/* Ocean Blue */ -.hljs-title, -.hljs-section { - color: #8fa1b3; -} - -/* Ocean Purple */ -.hljs-keyword, -.hljs-selector-tag { - color: #b48ead; -} - -.hljs { - display: block; - overflow-x: auto; - background: #2b303b; - color: #c0c5ce; - padding: 0.5em; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} diff --git a/gulpfile.js b/gulpfile.js index f0efe6f73..c92e22e74 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -89,6 +89,8 @@ gulp.task('css:docs', function() { .pipe(gulp.dest('./docs/welcome/css')); }); +gulp.task('docs', ['css:docs', 'markdown:docs']); + // Make a copy of popper available to those not using bundling gulp.task('copy-popper', function() { gulp.src('./node_modules/popper.js/dist/umd/popper.js') @@ -127,7 +129,6 @@ gulp.task('watch', ['js', 'css', 'eager'], function() { // Defaults -gulp.task('build', ['js', 'css', 'eager', 'copy-popper']); -gulp.task('docs', ['css:docs', 'markdown:docs']); +gulp.task('build', ['js', 'css', 'eager', 'copy-popper', 'docs']); gulp.task('default', ['build']);