Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
7100e3a3
Commit
7100e3a3
authored
11 years ago
by
Zlatan Vasović
Committed by
Chris Rebert
11 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add build-raw-files log; fixes
#12603
Fixes #12672
parent
1b4a3dbb
3 merge requests
!28721
Hot test
,
!22103
test
,
!25326
Adjust examples
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grunt/bs-raw-files-generator.js
+10
-2
grunt/bs-raw-files-generator.js
with
10 additions
and
2 deletions
+10
-2
grunt/bs-raw-files-generator.js
+
10
-
2
View file @
7100e3a3
...
...
@@ -6,8 +6,9 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
'
use strict
'
;
var
btoa
=
require
(
'
btoa
'
);
var
fs
=
require
(
'
fs
'
);
var
btoa
=
require
(
'
btoa
'
);
var
grunt
=
require
(
'
grunt
'
);
function
getFiles
(
type
)
{
var
files
=
{};
...
...
@@ -27,5 +28,12 @@ module.exports = function generateRawFilesJs(banner) {
banner
=
''
;
}
var
files
=
banner
+
getFiles
(
'
js
'
)
+
getFiles
(
'
less
'
)
+
getFiles
(
'
fonts
'
);
fs
.
writeFileSync
(
'
docs/assets/js/raw-files.min.js
'
,
files
);
var
rawFilesJs
=
'
docs/assets/js/raw-files.min.js
'
;
try
{
fs
.
writeFileSync
(
rawFilesJs
,
files
);
}
catch
(
err
)
{
grunt
.
fail
.
warn
(
err
);
}
grunt
.
log
.
writeln
(
'
File
'
+
rawFilesJs
.
cyan
+
'
created.
'
);
};
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets