Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Precompile before publishing, no longer requires Coffee-Script to run.
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf committed May 2, 2012
1 parent b06c832 commit 946ebf5
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
lib/**/*.js
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Version 1.4.3 2012-05-02

Precompile before publishing, no longer requires Coffee-Script to run.


## Version 1.4.2 2012-05-02

Added support for HTTPS (Jerome Gravel-Niquet)
Expand Down
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
default : test
.PHONY : clean setup test

# Setup everything
setup :
npm install

# Run test suite
test : setup clean
npm test

# Remove temporary files
clean :
rm -f lib/*.js
rm -f lib/replay/*.js

# CoffeeScript to JavaScript
build : clean
coffee -b -c -l -o lib/replay lib/replay/*.coffee

# Publish new release to NPM
publish : test build
git push
npm publish
9 changes: 0 additions & 9 deletions lib/replay.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"test": "./node_modules/.bin/mocha"
},
"dependencies": {
"coffee-script": "~1.3.1"
},
"devDependencies": {
"coffee-script": "~1.3.1",
"express": "~2.5.9",
"mocha": "~1.0.2",
"async": "~0.1.18"
Expand Down

0 comments on commit 946ebf5

Please sign in to comment.