forked from scalaz/scalaz
/
README
55 lines (43 loc) · 2.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Scalaz is a library written in the Scala Programming Language. One mandate of the library is to depend
only on the core Scala API and the core Java 2 Standard Edition API. The intention of Scalaz is to include general
functions that are not currently available in the core Scala API. Scalaz is released under a BSD open source licence
making it compatible with the licence of the Scala project.
The source code for Scalaz is hosted on GitHub: http://github.com/scalaz/scalaz
Documentation and downloads are on Google Code: http://code.google.com/p/scalaz/
Snapshots and Releases published to the repository on scala-tools.org.
Build Instructions
------------------
The root directory of the project contains the SBT launcher, shell script, and Windows command script.
This is the directory structure of the build.
|- project +
| |-build +
| | |- ScalazProject.scala. Project Definition, containing module structure, compiler
| | | options, cross module dependencies, etc.
| | |- build.properties Version of SBT, Scala, and Scalaz.
| | A different version of Scala is used to run SBT and compile
| | the Project Definition than is used to compile Scalaz.
| |-target Compiled Project Definition
| |
|- +-boot Versions of Scala Compiler and Library.
|
|- <mod N> +
|-src +
| |-main +
| | |-scala Source files
| |
| |-test +
| |-scala Test source files
|
|-lib_managed Managed Dependencies for this module, e.g. Scalacheck.
|
|-target +
| - <scala version M> All built artifacts (classes, jars, scaladoc) for module N
built for version M of Scala.
1. ./sbt update (this step is required after a fresh checkout, after changing the version of
SBT, Scala, or other dependencies)
2. ./sbt [compile | package | test-compile | test | publish-local | publish]
For continuous compilation of a module:
$ ./sbt
> project scalaz-core
> ~compile
For other options, read: http://code.google.com/p/simple-build-tool/wiki/DocumentationHome