Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
Contra committed Sep 2, 2011
0 parents commit abd649f
Show file tree
Hide file tree
Showing 11 changed files with 139 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
.DS_Store
*.log
node_modules
1 change: 1 addition & 0 deletions .npmignore
@@ -0,0 +1 @@
*.log
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,4 @@
0.0.1 / Month Day, 2011
==================

* Start of the project
20 changes: 20 additions & 0 deletions LICENSE
@@ -0,0 +1,20 @@
Copyright (c) 2011 Contra <contra@australia.edu>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45 changes: 45 additions & 0 deletions README.md
@@ -0,0 +1,45 @@
**Nothing here yet**


## Installation

To install Protege, use [npm](http://github.com/isaacs/npm):

$ npm install -g APPNAME

## Usage

Nothing here yet

## Examples

You can view further examples in the [example folder.](https://github.com/Contra/APPNAME/tree/master/examples)

## Contributors

- [Contra](https://github.com/Contra)

## LICENSE

(MIT License)

Copyright (c) 2011 Contra <contra@australia.edu>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 changes: 9 additions & 0 deletions TODO.md
@@ -0,0 +1,9 @@
# TODO

### Minor

* Nothing here yet

### Major

* Nothing here yet
2 changes: 2 additions & 0 deletions lib/config.coffee
@@ -0,0 +1,2 @@
module.exports =
something: 'nothing here yet'
18 changes: 18 additions & 0 deletions lib/logger.coffee
@@ -0,0 +1,18 @@
require 'colors'
pack = require('./package').load()

module.exports =
log: (str) ->
console.log str

debug: (str) ->
console.log '[' + pack.name.magenta, '-', 'DEBUG'.upcase().green.inverse + ']', str

info: (str) ->
console.log '[' + pack.name.magenta, '-', 'info'.white + ']', str

warn: (str) ->
console.log '[' + pack.name.magenta, '-', 'warn'.upcase().yellow + ']', str

error: (str) ->
console.log '[' + pack.name.magenta, '-', 'debug'.upcase().red.inverse + ']', str
2 changes: 2 additions & 0 deletions lib/main.coffee
@@ -0,0 +1,2 @@
module.exports =
log: require './logger'
11 changes: 11 additions & 0 deletions lib/package.coffee
@@ -0,0 +1,11 @@
fs = require 'fs'
path = require 'path'

# Singleton for the contents of package.json
exports.load = ->
if !@package
location = path.join(__dirname, '../', 'package.json')
@package = JSON.parse fs.readFileSync(location)
return @package
else
return @package
24 changes: 24 additions & 0 deletions package.json
@@ -0,0 +1,24 @@
{
"name":"APPNAME",
"description":"Nothing here yet",
"version":"0.0.1",
"homepage":"http://github.com/Contra/APPNAME",
"repository":"git://github.com/Contra/APPNAME.git",
"author":"Contra <contra@australia.edu> (http://wearefractal.com/)",
"main":"./lib/main.coffee",

"dependencies":{
"coffee-script":"*",
"colors":"*",
"protege":"*"
},
"engines":{
"node":">= 0.4.0"
},
"licenses":[
{
"type":"MIT",
"url":"http://github.com/Contra/APPNAME/raw/master/LICENSE"
}
]
}

0 comments on commit abd649f

Please sign in to comment.