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
3e9e2242
authored
2015-09-03 14:33:51 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Start work on bower.
1 parent
ed895a01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
grunt-monty-python.js
grunt-monty-python.js
View file @
3e9e224
...
...
@@ -286,6 +286,22 @@ module.exports = function (grunt) {
}
}
if
(
common
.
bower
)
{
externalMultiTask
(
'bower'
,
'run bower externally'
,
'bower'
,
function
(
target
,
options
,
configFile
)
{
return
[
'--config.directory='
+
options
.
directory
,
target
];
});
initConfig
.
bower
=
{
options
:
{
directory
:
'src/'
+
common
.
bower
.
directory
,
},
install
:
{},
update
:
{},
};
if
(
common
.
useRev
)
{
initConfig
.
rev
.
dist
.
files
.
push
({
src
:
'dist/'
+
common
.
bower
.
directory
});
}
}
buildList
.
push
(
'useminPrepare'
);
// html
//buildList.push('usemin:views'
//buildList.push('requirejs'); // script
...
...
Please
register
or
sign in
to post a comment