Skip to content

Commit

Permalink
nodeload.js moves into root directory
Browse files Browse the repository at this point in the history
THANKS moves inside package.json
  • Loading branch information
jonjlee committed Nov 30, 2010
1 parent 8f7d825 commit 8ee881b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ all: compile

clean:
rm -rf ./lib-cov
rm -f ./lib/nodeload.js ./lib/*.tpl.js
rm -f ./nodeload.js ./lib/*.tpl.js
rm -f results-*-err.log results-*-stats.log results-*-summary.html

templates:
$(PROCESS_TPL) REPORT_SUMMARY_TEMPLATE lib/summary.tpl > lib/summary.tpl.js
$(PROCESS_TPL) DYGRAPH_SOURCE lib/dygraph.tpl > lib/dygraph.tpl.js

compile: templates
echo "#!/usr/bin/env node" > ./lib/nodeload.js
cat $(SOURCES) | ./scripts/jsmin.js >> ./lib/nodeload.js
chmod +x ./lib/nodeload.js
echo "#!/usr/bin/env node" > ./nodeload.js
cat $(SOURCES) | ./scripts/jsmin.js >> ./nodeload.js
chmod +x ./nodeload.js
5 changes: 0 additions & 5 deletions THANKS

This file was deleted.

1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- Console webpage (stats)
- Console webpage (node manager)
- Add mem, disk io read + write + wait monitoring remote.ex.js
- Remote testing should also aggregate summary-only stats (e.g. uniques)
- Update READMEs
- Write a DEVELOPERS doc that explains the components
- Add zipf number generator
2 changes: 1 addition & 1 deletion examples/loadtesting.ex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jslint sub:true */

var http = require('http'),
nl = require('../lib/nodeload');
nl = require('../nodeload');

var svr = http.createServer(function (req, res) {
res.writeHead((Math.random() < 0.8) ? 200 : 404, {'Content-Type': 'text/plain'});
Expand Down
2 changes: 1 addition & 1 deletion examples/remotetesting.ex.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

var http = require('http'),
nl = require('../lib/nodeload');
nl = require('../nodeload');

// Start a local HTTP server that we can load test
var svr = http.createServer(function (req, res) {
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
"Benjamin Schmaus <[email protected]>",
"Jonathan Lee <[email protected]>",
"Robert Newson <[email protected]>",
"Michael Mattozzi <[email protected]>"
],
"repository": {
"type": "git",
"url": "http://github.com/benschmaus/nodeload"
},
"main": "./lib/nodeload",
"main": "./nodeload.js",
"bin": {
"nodeload.js": "./lib/nodeload.js",
"nodeload.js": "./nodeload.js",
"nl.js": "./nl.js"
},
"modules": {
Expand Down

0 comments on commit 8ee881b

Please sign in to comment.