mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-09 11:55:47 +00:00
Merge branch 'travis' of github.com:captn3m0/mit-license into captn3m0-travis
Conflicts: users/dissimile.json
This commit is contained in:
commit
75f233d1cf
5 changed files with 35 additions and 15 deletions
3
.travis.yml
Normal file
3
.travis.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
19
package.json
Normal file
19
package.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"author": "Remy Sharp <remy@leftlogic.com> (http://remysharp.com/)",
|
||||
"name": "mit-licence",
|
||||
"description": "Hosted MIT License with details controlled through this repo",
|
||||
"version": "1.0.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:remy/mit-license.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"bugs": { "url": "https://github.com/remy/mit-license/issues" },
|
||||
"licenses": [
|
||||
{ "type": "MIT",
|
||||
"url": "http://rem.mit-license.org/"
|
||||
}
|
||||
]
|
||||
}
|
||||
13
test.js
Normal file
13
test.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/env node
|
||||
var fs = require('fs');
|
||||
var users = fs.readdirSync("users");
|
||||
for(i in users){
|
||||
try{
|
||||
var content = fs.readFileSync("users/"+users[i]).toString();
|
||||
JSON.parse(content);
|
||||
}
|
||||
catch(e){
|
||||
console.error("Invalid JSON in file: " + users[i]);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"copyright": "frisB",
|
||||
"url": "http://frisB.com",
|
||||
"email": "play@frisb.com"
|
||||
"theme": "default",
|
||||
"gravatar": true
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"copyright": "Omid Gharib, https://github.com/omidgharib",
|
||||
"url": "http://omidgharib.ir",
|
||||
"format": "txt",
|
||||
"email": "omidgharib@yahoo.com",
|
||||
"gravatar": true,
|
||||
"theme" : "default"
|
||||
}s
|
||||
Loading…
Reference in a new issue