Skip to content

Commit

Permalink
Changes for final 0.x release
Browse files Browse the repository at this point in the history
- Include esprima.js directly
- Change copyright
- Change 'main' in packages.json
  • Loading branch information
iccir committed Nov 4, 2014
1 parent 23fecae commit 13abcc1
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion LICENSE.MIT
@@ -1,7 +1,7 @@
Unless otherwise mentioned (runtime.js), files in this project are licensed under
the MIT license:

Copyright (c) 2013 musictheory.net, LLC
Copyright (c) 2013-2014 musictheory.net, LLC

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:

Expand Down
3 changes: 1 addition & 2 deletions bin/ojc
@@ -1,13 +1,12 @@
#!/usr/bin/env node

/*
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
*/

var fs = require("fs");
var util = require("util");
var esprima = require("esprima-oj");
var ojc = require("../src/compiler");

var args = process.argv.slice(2);
Expand Down
9 changes: 5 additions & 4 deletions package.json
Expand Up @@ -2,12 +2,12 @@
"name": "ojc",
"description": "compiler for the oj language",
"homepage": "http://github.com/musictheory/oj",
"main": "esprima.js",
"main": "src/compiler.js",
"bin": {
"ojc": "./bin/ojc",
"ojsqueeze": "./bin/ojsqueeze"
},
"version": "0.1.0-9",
"version": "0.2.0",
"engines": {
"node": ">=0.8.0"
},
Expand All @@ -24,9 +24,10 @@
"type": "MIT",
"url": "http://github.com/musictheory/oj/raw/master/LICENSE.MIT"
}],
"dependencies": {
"esprima-oj": "*"
"devDependencies": {
"mocha": "*"
},
"dependencies": { },
"scripts": {
"test": "mocha"
}
Expand Down
4 changes: 2 additions & 2 deletions src/compiler.js
@@ -1,10 +1,10 @@
/*
compiler.js
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
*/

var esprima = require && require("esprima-oj");
var esprima = require && require("./esprima");
var Modifier = require && require("./modifier").Modifier;
var OJError = require && require("./errors").OJError;
var Traverser = require && require("./traverser").Traverser;
Expand Down
2 changes: 1 addition & 1 deletion src/errors.js
@@ -1,6 +1,6 @@
/*
errors.js
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
*/

Expand Down
2 changes: 1 addition & 1 deletion src/modifier.js
@@ -1,6 +1,6 @@
/*
modifier.js
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
Based on Modifier from harmonizr (http://github.com/jdiamond/harmonizr)
Expand Down
4 changes: 2 additions & 2 deletions src/squeezer.js
@@ -1,10 +1,10 @@
/*
compiler.js
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
*/

var esprima = require && require("esprima-oj");
var esprima = require && require("./esprima");
var Traverser = require && require("./traverser").Traverser;
var Syntax = esprima.Syntax;
var Modifier = require && require("./modifier").Modifier;
Expand Down
2 changes: 1 addition & 1 deletion src/traverser.js
@@ -1,6 +1,6 @@
/*
traverser.js
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
*/

Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
@@ -1,6 +1,6 @@
/*
traverser.js
(c) 2013 musictheory.net, LLC
(c) 2013-2014 musictheory.net, LLC
MIT license, http://www.opensource.org/licenses/mit-license.php
*/

Expand Down

0 comments on commit 13abcc1

Please sign in to comment.