diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-11-05 16:30:39 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-11-05 16:32:01 +0100 |
commit | ebdc017f9506192e985ef91905c6f7e08be6d6fb (patch) | |
tree | baf27d6d072e026e865e85b61aa3912422d9e670 | |
parent | 57a5012514cf691fddf184cc85967e39cdc540b6 (diff) | |
download | scala-async-ebdc017f9506192e985ef91905c6f7e08be6d6fb.tar.gz scala-async-ebdc017f9506192e985ef91905c6f7e08be6d6fb.tar.bz2 scala-async-ebdc017f9506192e985ef91905c6f7e08be6d6fb.zip |
Update README
-rw-r--r-- | README.md | 39 |
1 files changed, 3 insertions, 36 deletions
@@ -4,43 +4,10 @@ Scala Async Project Building -------- -The async macro can be built using the `build.sh` script. -It requires either Scala 2.10.0-RC1 or a nightly build of Scala 2.10.x. +The async macro and its test suite can be built and run with SBT. -Running the test suite ----------------------- - -Currently, the tests can be run using `partest` the testing tool used -to test the Scala compiler and standard library. At the moment, -running `partest` requires a working copy of the Scala compiler. - -In the following it is assumed that the build of the Scala compiler is -located at `../scala` (root of the "scala" project when cloned using -git) relative to the root directory of the async project. - -Moreover, in the Scala build it's necessary to copy the directory -"build/asm/classes/scala/tools/asm" into -"build/quick/classes/compiler/scala/tools". - -Finally, it's necessary to set the following environment variables: - -``` -SCALAC_OPTS='-cp classes' -JAVA_OPTS='-cp classes' -``` - -After this setup, we can run `partest` as follows: - -``` -$ ../scala/test/partest --classpath ../scala/build/quick/classes --run -``` - -This runs all tests in the directory `test/files/run`. -It is also possible to run only a single test: - -``` -$ ../scala/test/partest --classpath ../scala/build/quick/classes test/files/run/await0 -``` +Contributing +------------ If you are interested in contributing code, we ask you to complete and submit to us the Scala Contributor License Agreement, which allows us to ensure that |