Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update necessary paths to map the new repo structure

  • Loading branch information...
commit d6d481deb6923ef21cb3695f6ab6f91247694c76 1 parent 25cb8e1
@mklabs authored
Showing with 5 additions and 11 deletions.
  1. +3 −1 bin/h5bp
  2. +1 −9 grunt.js
  3. +1 −1  tasks/misc.js
View
4 bin/h5bp
@@ -4,5 +4,7 @@ var grunt = require('grunt'),
path = require('path');
grunt.cli({
- tasks: [path.join(__dirname, '../')]
+ tasks: [path.join(__dirname, '../tasks')],
+ config: path.existsSync('./grunt.js') ? './grunt.js' : path.join(__dirname, '../grunt.js'),
+ base: process.cwd()
});
View
10 grunt.js
@@ -5,12 +5,6 @@
config.init({
- pkg: '<json:package.json>',
-
- intro: {
- pkg: '<config:pkg>'
- },
-
clean: '<config:mkdirs>',
mkdirs: {
@@ -19,7 +13,6 @@ config.init({
},
concat: {
- 'intermediate/js/libs.js': [ 'js/mylibs/*' ],
'intermediate/js/scripts.js': [ 'js/plugins.js', 'js/script.js' ],
'intermediate/css/style.css': [ 'css/*.css' ]
},
@@ -29,7 +22,6 @@ config.init({
},
min: {
- 'publish/js/libs.js': [ 'intermediate/js/libs.js' ],
'publish/js/scripts.js': [ 'intermediate/js/scripts.js' ]
},
@@ -47,7 +39,7 @@ config.init({
lint: {
files: ['js/*.js'],
- build: ['grunt.js', 'build/tasks/*.js']
+ build: ['grunt.js', 'tasks/*.js']
},
watch: {
View
2  tasks/misc.js
@@ -9,7 +9,7 @@ var path = require('path'),
// ### Tasks
//
-task.registerBasicTask('intro', 'Kindly inform the developer about the impending magic', function(data, name) {
+task.registerTask('intro', 'Kindly inform the developer about the impending magic', function(data, name) {
var output = [
"=====================================================================",
Please sign in to comment.
Something went wrong with that request. Please try again.