Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
grunt-monty-python
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b01d783a
authored
2015-07-27 11:11:52 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Start working on renaming files based on their hash.; WORKS!
1 parent
ddded37c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
grunt-monty-python.js
package.json
grunt-monty-python.js
View file @
b01d783
...
...
@@ -39,7 +39,16 @@ module.exports = function (grunt) {
}]
},
},
};
rev
:
{
css
:
{
files
:
{
src
:
_
.
map
(
common
.
css
.
options
.
dirs
,
function
(
value
)
{
return
'dist/'
+
value
+
'/{,**/}*.css'
;
}),
}
},
},
};
var
checkList
=
[];
var
buildList
=
[
'check'
,
...
...
@@ -213,6 +222,9 @@ module.exports = function (grunt) {
}]
};
initConfig
.
clean
.
dist
.
files
[
0
].
src
.
push
(
'.grunt/usemin-css'
);
initConfig
.
usemin
.
css
=
_
.
map
(
common
.
css
.
options
.
dirs
,
function
(
value
)
{
return
'dist/'
+
value
+
'/{,**/}*.css'
;
});
buildList
.
push
(
'useminPrepare'
);
// html
//buildList.push('usemin:views'
...
...
@@ -230,7 +242,7 @@ module.exports = function (grunt) {
//'modernizr');
//buildList.push('uglify:generated'); // montyPython
//'rev:dist'); // montyPython
//
buildList.push('rev:css'); // montyPython
buildList
.
push
(
'rev:css'
);
// montyPython
//buildList.push('revconfig'); // montyPython
//buildList.push('uglify:bower'); // montyPython
//buildList.push('uglify:requireconfig'); // montyPython
...
...
package.json
View file @
b01d783
...
...
@@ -23,6 +23,7 @@
"grunt-contrib-cssmin"
:
"~0.12.3"
,
"grunt-contrib-jshint"
:
"~0"
,
"grunt-contrib-htmlmin"
:
"~0"
,
"grunt-rev"
:
"~0"
,
"grunt-usemin"
:
"~2"
,
"lodash"
:
"~2"
,
"punch"
:
"~0.5.46"
,
...
...
Please
register
or
sign in
to post a comment