Permalink
Browse files

Add less lib

  • Loading branch information...
1 parent f4df022 commit 65220fd09a09ff768ec754e32f46ee7d9b519598 @mitsuruog committed Apr 21, 2013
View
@@ -4,26 +4,27 @@ module.exports = function (grunt) {
grunt.initConfig({
csso: {
dist: {
- src: './bootstrap-narrow/bootstrap-narrow.css',
- dest: './bootstrap-narrow/bootstrap-narrow.min.css'
+ src : './lib/bootstrap-narrow.css',
+ dest: './lib/bootstrap-narrow.min.css'
}
},
watch: {
- files: ['./bootstrap-narrow/less/*.less'],
+ files: ['./lib/less/*.less'],
tasks: ['less', 'csso']
},
less: {
production: {
files: {
- "./bootstrap-narrow/bootstrap-narrow.css": "./bootstrap-narrow/less/bootstrap-narrow.less"
+ "./lib/bootstrap-narrow.css": "./lib/less/bootstrap-narrow.less"
}
}
}
});
// Load npm tasks
grunt.loadNpmTasks('grunt-csso');
- grunt.loadNpmTasks('grunt-contrib');
+ grunt.loadNpmTasks('grunt-contrib-less');
+ grunt.loadNpmTasks('grunt-contrib-watch');
// Default task.
grunt.registerTask('default', 'watch');
View
@@ -18,7 +18,7 @@
}
</style>
<link rel="stylesheet" href="./css/bootstrap-responsive.min.css">
- <link rel="stylesheet" href="./bootstrap-narrow/bootstrap-narrow.min.css">
+ <link rel="stylesheet" href="./lib/bootstrap-narrow.min.css">
<link rel="stylesheet" href="./css/main.css">
<script src="./js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
@@ -38,14 +38,14 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
- <a class="brand" href="/">Bootstrap {narrow}</a>
+ <a class="brand" href="./">Bootstrap {narrow}</a>
<div class="nav-collapse collapse">
<ul class="nav">
- <li class="active"><a href="/">Home</a></li>
+ <li class="active"><a href="./">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Preview <b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="./bootstrap-narrow/base.html">Base CSS</a></li>
+ <li><a href="./lib/base.html">Base CSS</a></li>
<!--
<li class="divider"></li>
<li class="nav-header">Demo</li>
Oops, something went wrong.

0 comments on commit 65220fd

Please sign in to comment.