Skip to content

Commit

Permalink
Linking jake is no longer necessary. Updated README as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Kligman committed Jun 19, 2012
1 parent 049364e commit 861bb73
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 18 deletions.
2 changes: 0 additions & 2 deletions Jakefile
Expand Up @@ -5,8 +5,6 @@ PATH = PATH.join( ':' );


process.env["PATH"] = PATH; process.env["PATH"] = PATH;


var jake = require( "jake" );

task( "default", [], require( "./tools/jake-tasks/default" ) ); task( "default", [], require( "./tools/jake-tasks/default" ) );


desc( "lint code" ); desc( "lint code" );
Expand Down
6 changes: 1 addition & 5 deletions README.md
Expand Up @@ -14,11 +14,7 @@ Before you can build and test, you'll need to set up your development environmen


git clone git://github.com/gladiusjs/gladius-core.git git clone git://github.com/gladiusjs/gladius-core.git


4. Link `jake` into the project directory. Do this from inside the new working copy you just cloned. Note that on some platforms you may need to do this as superuser. 4. Run `jake` in the project directory. You should see the following output:

npm link jake

5. Run `jake` in the project directory. You should see the following output:


jake lint # lint code jake lint # lint code
jake build # compile code jake build # compile code
Expand Down
1 change: 0 additions & 1 deletion node_modules/.bin/jake

This file was deleted.

2 changes: 0 additions & 2 deletions tools/jake-tasks/build.js
@@ -1,5 +1,3 @@
var jake = require( "jake" );

module.exports = function() { module.exports = function() {
var cmds = [ var cmds = [
"node tools/r.js -o tools/build.js", "node tools/r.js -o tools/build.js",
Expand Down
2 changes: 0 additions & 2 deletions tools/jake-tasks/clean.js
@@ -1,5 +1,3 @@
var jake = require( "jake" );

module.exports = function() { module.exports = function() {
var cmds = [ var cmds = [
"rm -rf dist" "rm -rf dist"
Expand Down
2 changes: 0 additions & 2 deletions tools/jake-tasks/default.js
@@ -1,5 +1,3 @@
var jake = require( "jake" );

module.exports = function() { module.exports = function() {
var cmds = [ var cmds = [
"jake -T" "jake -T"
Expand Down
2 changes: 0 additions & 2 deletions tools/jake-tasks/lint.js
@@ -1,5 +1,3 @@
var jake = require( "jake" );

module.exports = function( files ) { module.exports = function( files ) {
files = (files && files.length > 0) ? files : ["."]; files = (files && files.length > 0) ? files : ["."];
var cmds = [ var cmds = [
Expand Down
2 changes: 0 additions & 2 deletions tools/jake-tasks/minify.js
@@ -1,5 +1,3 @@
var jake = require( "jake" );

module.exports = function() { module.exports = function() {
var cmds = [ var cmds = [
"uglifyjs --output dist/gladius-core.min.js dist/gladius-core.js" "uglifyjs --output dist/gladius-core.min.js dist/gladius-core.js"
Expand Down

0 comments on commit 861bb73

Please sign in to comment.