Skip to content

Commit

Permalink
Added Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Pochtar committed Aug 22, 2013
1 parent 98dc03f commit 457edaf
Show file tree
Hide file tree
Showing 22 changed files with 27 additions and 323 deletions.
11 changes: 0 additions & 11 deletions Cakefile

This file was deleted.

22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


bin/coffee : $(patsubst src/%.coffee,lib/%.js,$(wildcard src/*.coffee)) \
$(patsubst src/%.litcoffee,lib/%.js,$(wildcard src/*.litcoffee)) \
lib/parser.js
touch bin/coffee

lib/%.js : src/%.coffee
coffee -cm -o lib $<

lib/%.js : src/%.litcoffee
coffee -cm -o lib $<

lib/parser.js : lib/grammar.js lib/helpers.js
node -e "\
require('underscore').extend(global, require('util')); \
console.log(require('./lib/grammar').parser.generate()); \
" > lib/parser.js

.PHONY : clean
clean :
rm -rf lib/*
7 changes: 0 additions & 7 deletions bin/cake

This file was deleted.

2 changes: 1 addition & 1 deletion bin/coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ var path = require('path');
var fs = require('fs');
var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');

require(lib + '/coffee-script/command').run();
require(lib + '/command').run();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/coffee-script/parser.js → lib/parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"description": "Mmm, static types",
"keywords": ["javascript", "language", "typescript", "coffeescript", "compiler"],
"author": "Palantir Technologies",
"version": "0.1",
"version": "0.1.0",
"licenses": [{
"type": "MIT",
"type": "MIT"
}],
"engines": {
"node": ">=0.8.0"
Expand All @@ -15,7 +15,7 @@
},
"main" : "./lib/coffee-script/coffee-script",
"bin": {
"coffee-to-typescript": "./bin/coffee",
"coffee-to-typescript": "./bin/coffee"
},
"repository": {
"type": "git",
Expand Down
78 changes: 0 additions & 78 deletions src/browser.coffee

This file was deleted.

87 changes: 0 additions & 87 deletions src/cake.coffee

This file was deleted.

2 changes: 0 additions & 2 deletions src/index.coffee

This file was deleted.

133 changes: 0 additions & 133 deletions src/repl.coffee

This file was deleted.

0 comments on commit 457edaf

Please sign in to comment.