Permalink
Browse files

Rename release/ to dist/ which is shorter and maybe clearer

  • Loading branch information...
jhs committed Dec 22, 2011
1 parent bbee4fd commit a6272d5097fa0f51ca80c07c37482f14e27cd299
Showing with 8 additions and 8 deletions.
  1. +1 −1 .gitignore
  2. +2 −2 README.md
  3. +3 −3 Rakefile
  4. +1 −1 package.json
  5. +1 −1 test/packages/import-rake/import.js
View
@@ -1,2 +1,2 @@
.*.swp
-/release
+/dist
View
@@ -75,7 +75,7 @@ Browser Request is an [Ender][ender] package. If you don't have Ender, install i
## RequireJS
-Browser Request also supports [RequireJS][rjs]. Add `release/requirejs/request.js` and `release/requirejs/xmlhttprequest.js` to your web application and use it from your code.
+Browser Request also supports [RequireJS][rjs]. Add `dist/requirejs/request.js` and `dist/requirejs/xmlhttprequest.js` to your web application and use it from your code.
```javascript
require(['request'], function(request) {
@@ -85,7 +85,7 @@ require(['request'], function(request) {
## Traditional
-The traditional way is to use it like any other Javascript library. Add `release/browser/request.js` to your web application and use it from your page.
+The traditional way is to use it like any other Javascript library. Add `dist/browser/request.js` to your web application and use it from your page.
```html
<script src="request.js"></script>
View
@@ -16,7 +16,7 @@ require 'erb'
HERE = File.expand_path(File.dirname __FILE__)
-BUILD = "#{HERE}/release"
+BUILD = "#{HERE}/dist"
ENDER = "#{BUILD}/ender"
BROWSER = "#{BUILD}/browser"
REQUIREJS = "#{BUILD}/requirejs"
@@ -167,13 +167,13 @@ generated code into a tag, then clean up in a subsequent commit.
1. Confirm the repo is clean
2. rake clean && rake
- 3. git add -f release/ && git commit -m "Code release"
+ 3. git add -f dist/ && git commit -m "Code release"
4. ver="vX.Y.Z" # Set this to something.
5. git tag -a "$ver" -m some_tag_message
6. git push origin "$ver:/refs/tags/$ver"
7. npm publish
8. Edit package.json and bump the version
- 9. git rm -r release/
+ 9. git rm -r dist/
10. git commit -m 'Working on <new version>'
EOT
end
View
@@ -15,5 +15,5 @@
}
, "engines": [ "node" ]
-, "ender": "./release/ender/ender.js"
+, "ender": "./dist/ender/ender.js"
}
@@ -22,7 +22,7 @@ function import_rake(root, location, settings, doc, callback) {
})
function load(source) {
- var source_path = path.join(home, 'release', source)
+ var source_path = path.join(home, 'dist', source)
var content = fs.readFileSync(source_path)

0 comments on commit a6272d5

Please sign in to comment.