From d7cced2e7ceb793a7643120b276ac81d3799531c Mon Sep 17 00:00:00 2001 From: "Davis W. Frank" Date: Sun, 27 Feb 2011 14:22:53 -0800 Subject: [PATCH] How to for release --- HowToRelease.markdown | 31 +++++++++++++++++++++++++++++++ pages | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 HowToRelease.markdown diff --git a/HowToRelease.markdown b/HowToRelease.markdown new file mode 100644 index 0000000..b9860d2 --- /dev/null +++ b/HowToRelease.markdown @@ -0,0 +1,31 @@ +# Making a Release of Jasmine Core + +Jasmine Core is this Github repo and contains all the core JavaScript code for the Jasmine BDD framework. + +It also contains two HTML pages for the Github Pages at http://pivotal.github.com/jasmine. + +## The Repo + +All of the JS for Jasmine is in the src directory. The specs for each file are in the specs directory. There are rake + tasks to concat all these files in the correct order. + +## The Pages + +Github pages have to exist in a branch called gh-pages in order for their app to serve them. This repo adds that +branch as a submodule under the `pages` directory. This is a bit of a hack, but it allows us to work with the pages +and the source at the same time and with one set of rake tasks. + +If you want to submit changes to this repo and aren't a Pivotal Labs employee, you can fork and work in the gh-pages +branch. You won't be able to edit the pages in the submodule off of master. + +The pages are built with [Frank](https://github.com/blahed/frank). All the source for these pages live in the +pages_source directory. + +## Running Specs + +Open the file `spec/runner.html` and all specs will run. + +## Releasing + +Once all specs are green and you've updated the version in `version.json`, you need to run the rake task to make a +distribution: `rake jasmine:dist`. diff --git a/pages b/pages index 0c35bf9..d08ce2d 160000 --- a/pages +++ b/pages @@ -1 +1 @@ -Subproject commit 0c35bf9ced3ef0429a9d72179133d5ab2382b08d +Subproject commit d08ce2de245d6782c09c652045a12e93af0dc7ec