Permalink
Browse files

Adding base folder structure, package.json and test setup for Vows.

  • Loading branch information...
1 parent 58418bf commit ffe4fd0ad0df7ce734a6e20c65f84a283c3d0157 @aikar committed Mar 24, 2011
Showing with 55 additions and 0 deletions.
  1. +4 −0 Cosmos.komodoproject
  2. +2 −0 bin/cosmos
  3. +5 −0 lib/cli.js
  4. 0 lib/cosmos.js
  5. +28 −0 package.json
  6. +9 −0 runTest.js
  7. +7 −0 test/cosmos.js
View
@@ -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>
View
@@ -0,0 +1,2 @@
+#!/usr/bin/env node
+require('../lib/cli').invoke();
View
@@ -0,0 +1,5 @@
+module.exports = {
+ invoke: function() {
+
+ }
+}
View
No changes.
View
@@ -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"
+ }
+}
View
@@ -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.
View
@@ -0,0 +1,7 @@
+var vows = require('vows');
+vows.describe('Cosmos').addBatch({
+ 'Is Cool': {
+ topic: true,
+ 'Confirmed Cool': function(){}
+ }
+}).export(module);

0 comments on commit ffe4fd0

Please sign in to comment.