aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2016-04-28 15:42:03 -0400
committerJan Christopher Vogt <oss.nsp@cvogt.org>2016-04-28 15:42:03 -0400
commita6150a65d4638e737a8e70b9fea768a0745cec60 (patch)
tree81b8224c3539f2db3796520547bce647004a11a2 /README.md
parent43bfdc4bf1c46fbb6abae97643aa13da557b9610 (diff)
parent6e9faddfb0db0e7b78501cb61c46bb33887ccdcd (diff)
downloadcbt-a6150a65d4638e737a8e70b9fea768a0745cec60.tar.gz
cbt-a6150a65d4638e737a8e70b9fea768a0745cec60.tar.bz2
cbt-a6150a65d4638e737a8e70b9fea768a0745cec60.zip
Merge pull request #111 from cvogt/reproducible-builds
Reproducible builds
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 84259da..2240893 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ class Build(context: cbt.Context) extends PackageBuild(context){
override def artifactId = "play-json-extensions"
override def dependencies =
super.dependencies :+
- MavenRepository.central.resolve(
+ MavenResolver(context.cbtHasChanged,context.paths.mavenCache,MavenResolver.central).resolve(
// encouraged way to declare dependencies
ScalaDependency("com.typesafe.play", "play-json", "2.4.4"),
MavenDependency("joda-time", "joda-time", "2.9.2")
@@ -71,16 +71,16 @@ You can see how your build is configured via overrides.
call `cbt` to see a full list of available commands for this build.
-Look into the class `DefaultBuild` in CBT's source code to see their
+Look into the class PackageBuild (and it's super class BasicBuild) in CBT's source code to see their
details. The source code is really simple. Don't shy away from
looking, even as a beginner. No crazy stuff, I promise ;). You
-can find the relevant code in CBT's `stage2/DefaultBuild.scala`
+can find the relevant code in CBT's stage2/BasicBuild.scala
I order to keep executing the same command triggered by file changes use `cbt loop <command>`.
You can find example builds in CBT's own `test/` folder.
Not all of them have a build file, in which case CBT uses the default
-`cbt.DefaultBuild`.
+cbt.BasicBuild.
A folder `build/` can have its own folder `build/` inside in order
to add source or maven dependencies to your build. Eventually