0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

Fix #13138: use underscore prefix to ignore directories

This commit is contained in:
Zlatan Vasović 2014-03-24 21:47:59 +01:00
parent d74aee4093
commit 8ae48183b2
14 changed files with 16 additions and 21 deletions

View File

@ -56,7 +56,7 @@ module.exports = function (grunt) {
src: 'js/tests/unit/*.js' src: 'js/tests/unit/*.js'
}, },
assets: { assets: {
src: 'docs/assets/js/src/*.js' src: 'docs/assets/js/_src/*.js'
} }
}, },
@ -122,13 +122,13 @@ module.exports = function (grunt) {
preserveComments: 'some' preserveComments: 'some'
}, },
src: [ src: [
'docs/assets/js/vendor/less.min.js', 'docs/assets/js/_vendor/less.min.js',
'docs/assets/js/vendor/jszip.min.js', 'docs/assets/js/_vendor/jszip.min.js',
'docs/assets/js/vendor/uglify.min.js', 'docs/assets/js/_vendor/uglify.min.js',
'docs/assets/js/vendor/blob.js', 'docs/assets/js/_vendor/blob.js',
'docs/assets/js/vendor/filesaver.js', 'docs/assets/js/_vendor/filesaver.js',
'docs/assets/js/raw-files.min.js', 'docs/assets/js/raw-files.min.js',
'docs/assets/js/src/customizer.js' 'docs/assets/js/_src/customizer.js'
], ],
dest: 'docs/assets/js/customize.min.js' dest: 'docs/assets/js/customize.min.js'
}, },
@ -137,8 +137,8 @@ module.exports = function (grunt) {
preserveComments: 'some' preserveComments: 'some'
}, },
src: [ src: [
'docs/assets/js/vendor/holder.js', 'docs/assets/js/_vendor/holder.js',
'docs/assets/js/src/application.js' 'docs/assets/js/_src/application.js'
], ],
dest: 'docs/assets/js/docs.min.js' dest: 'docs/assets/js/docs.min.js'
} }
@ -206,7 +206,7 @@ module.exports = function (grunt) {
src: 'dist/css/<%= pkg.name %>-theme.css' src: 'dist/css/<%= pkg.name %>-theme.css'
}, },
docs: { docs: {
src: 'docs/assets/css/src/docs.css' src: 'docs/assets/css/_src/docs.css'
}, },
examples: { examples: {
expand: true, expand: true,
@ -240,7 +240,7 @@ module.exports = function (grunt) {
ids: false, ids: false,
'overqualified-elements': false 'overqualified-elements': false
}, },
src: 'docs/assets/css/src/docs.css' src: 'docs/assets/css/_src/docs.css'
} }
}, },
@ -253,8 +253,8 @@ module.exports = function (grunt) {
}, },
docs: { docs: {
src: [ src: [
'docs/assets/css/src/docs.css', 'docs/assets/css/_src/docs.css',
'docs/assets/css/src/pygments-manni.css' 'docs/assets/css/_src/pygments-manni.css'
], ],
dest: 'docs/assets/css/docs.min.css' dest: 'docs/assets/css/docs.min.css'
} }
@ -288,7 +288,7 @@ module.exports = function (grunt) {
}, },
docs: { docs: {
files: { files: {
'docs/assets/css/src/docs.css': 'docs/assets/css/src/docs.css' 'docs/assets/css/_src/docs.css': 'docs/assets/css/_src/docs.css'
} }
} }
}, },
@ -336,8 +336,8 @@ module.exports = function (grunt) {
} }
}, },
files: { files: {
'docs/_includes/customizer-variables.html': 'docs/jade/customizer-variables.jade', 'docs/_includes/customizer-variables.html': 'docs/_jade/customizer-variables.jade',
'docs/_includes/nav/customize.html': 'docs/jade/customizer-nav.jade' 'docs/_includes/nav/customize.html': 'docs/_jade/customizer-nav.jade'
} }
} }
}, },

View File

@ -14,11 +14,6 @@ baseurl: /
url: http://getbootstrap.com url: http://getbootstrap.com
encoding: UTF-8 encoding: UTF-8
exclude:
- jade
- src
- vendor
# Custom vars # Custom vars
current_version: 3.1.1 current_version: 3.1.1
repo: https://github.com/twbs/bootstrap repo: https://github.com/twbs/bootstrap