summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2014-11-27 00:04:18 -0800
committerLi Haoyi <haoyi@dropbox.com>2014-11-27 00:04:18 -0800
commitad01669dbf0d4c298d716b29eff1141c72bedbb3 (patch)
tree8ea4d08481e9ae725b83605898b64bb72d6c682c
parent24c8c7d00ecdf1a1e246d58b1d220b4543ca3a15 (diff)
downloadhands-on-scala-js-ad01669dbf0d4c298d716b29eff1141c72bedbb3.tar.gz
hands-on-scala-js-ad01669dbf0d4c298d716b29eff1141c72bedbb3.tar.bz2
hands-on-scala-js-ad01669dbf0d4c298d716b29eff1141c72bedbb3.zip
tweak
-rw-r--r--build.sbt5
-rw-r--r--examples/crossBuilds/clientserver/project/build.properties1
2 files changed, 6 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
index 154f475..3a314e9 100644
--- a/build.sbt
+++ b/build.sbt
@@ -100,6 +100,11 @@ lazy val book = Project(
System.setProperty("output.root", target.value.getAbsolutePath + "/output")
},
publish := {
+ // If you want to publish the heroku app, push the contents of
+ // examples/crossBuilds/clientserver to https://git.heroku.com/hands-on-scala-js.git
+ // May aswell do it manually because it's a slow process and the
+ // code doesn't change much
+
val outputRoot = target.value.getAbsolutePath + "/output"
val repo = Git.init().setDirectory(new File(outputRoot)).call()
val remoteUrl = "https://github.com/lihaoyi/hands-on-scala-js"
diff --git a/examples/crossBuilds/clientserver/project/build.properties b/examples/crossBuilds/clientserver/project/build.properties
new file mode 100644
index 0000000..748703f
--- /dev/null
+++ b/examples/crossBuilds/clientserver/project/build.properties
@@ -0,0 +1 @@
+sbt.version=0.13.7