Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

cleared up confusion about the global coffee variable #894

Closed
wants to merge 1 commit into from

1 participant

@tmont

I might just be an idiot, but it took me a good 10 minutes to figure out how to create a custom build. The fact that it required coffeescript threw me for a loop, so I made the custom build example a little more explicit (you don't actually need to install coffee globally).

@madrobby madrobby closed this in 3ca4a06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.md
View
7 README.md
@@ -33,11 +33,12 @@ The resulting files are:
1. `dist/zepto.js`
2. `dist/zepto.min.js`
-If you install CoffeeScript globally, you can run `make` directly:
+You can also create a custom build by defining the
+`MODULES` environment variable and then using `coffee` to run the
+makefile directly:
~~~ sh
-$ coffee make dist
-$ MODULES="zepto event data ..." ./make dist
+$ MODULES="zepto event data ..." ./node_modules/.bin/coffee make dist
~~~
## Zepto modules
Something went wrong with that request. Please try again.