aboutsummaryrefslogblamecommitdiff
path: root/stage1/paths.scala
blob: 2006ae89f042390a9ad00c6566649522d4b77868 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                


                                                                            

                                                                    

                                                                  




                                                                           
 
package cbt
import java.io._
object paths{  
  val cbtHome: File = new File(Option(System.getenv("CBT_HOME")).get)
  val mavenCache: File = cbtHome ++ "/cache/maven"
  val userHome: File = new File(Option(System.getProperty("user.home")).get)
  val bootstrapScala: File = cbtHome ++ "/bootstrap_scala"
  val nailgun: File = new File(Option(System.getenv("NAILGUN")).get)
  val stage1: File = new File(Option(System.getenv("STAGE1")).get)
  val stage2: File = cbtHome ++ "/stage2"
  private val target = Option(System.getenv("TARGET")).get.stripSuffix("/")
  val stage1Target: File = stage1 ++ ("/" ++ target)
  val stage2Target: File = stage2 ++ ("/" ++ target)
  val nailgunTarget: File = nailgun ++ ("/" ++ target)
  val sonatypeLogin: File = cbtHome ++ "/sonatype.login"
}