-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding base folder structure, package.json and test setup for Vows.
- Loading branch information
Showing
7 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!-- Komodo Project File - DO NOT EDIT --> | |||
<project id="038ff781-19bc-4b1a-afd6-29c475bdb179" kpf_version="5" name="Cosmos.komodoproject"> | |||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
#!/usr/bin/env node | |||
require('../lib/cli').invoke(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
module.exports = { | |||
invoke: function() { | |||
|
|||
} | |||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
{ | |||
"name": "cosmos", | |||
"description": "A distributed event driven and RPC based application framework for Node.JS", | |||
"version": "0.0.1", | |||
"homepage": "http://aikar.co/cosmos", | |||
"repository": { | |||
"type": "git", | |||
"url": "git@github.com:aikar/cosmos" | |||
}, | |||
"author": "Aikar <aikar@aikar.co> (http://aikar.co)", | |||
"main": "lib/cosmos.js", | |||
"directories": { | |||
"lib": "lib" | |||
}, | |||
"devDependencies": { | |||
"vows": "" | |||
}, | |||
"bugs": { | |||
"mail": "aikar@aikar.co", | |||
"web": "https://github.com/aikar/cosmos/issues" | |||
}, | |||
"scripts": { | |||
"test": "test/runTest.js" | |||
}, | |||
"engines": { | |||
"node": ">=4" | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
#!/usr/bin/env node | |||
var fs = require('fs'); | |||
process.chdir(__dirname + '/test'); | |||
if (process.argv.length <= 2) { | |||
// Add all tests to be ran. | |||
process.argv = process.argv.concat(fs.readdirSync('.')); | |||
} | |||
process.argv.push('--spec'); | |||
require('vows/bin/vows'); // load the CLI script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
var vows = require('vows'); | |||
vows.describe('Cosmos').addBatch({ | |||
'Is Cool': { | |||
topic: true, | |||
'Confirmed Cool': function(){} | |||
} | |||
}).export(module); |