Skip to content
Browse files

drop support for 0.7

  • Loading branch information...
1 parent f3ef4e7 commit 93533fed24164278521ff0b3b30046cb573e9ed4 @ymasory committed Oct 6, 2011
View
0 0.7.x/.gitignore → .gitignore
File renamed without changes.
View
5 0.10.x/.gitignore
@@ -1,5 +0,0 @@
-*~
-target/
-lib_managed/
-src_managed/
-project/boot/
View
1 0.10.x/LICENSE
@@ -1 +0,0 @@
-Put your project's license here.
View
15 0.10.x/README.md
@@ -1,15 +0,0 @@
-# sbt-prototype is the starting point for all my projects #
-
-## Features ##
-- **ScalaCheck**. Some sample tests are in `src/test/scala`. Run them with `sbt test`.
-- **ProGuard**. This is just so you can make an executable jar out of your project. Run `sbt proguard` and there will be an executable jar `sbt-prototype/target/scala_*/myproj-alpha.min.jar` that you can run `java -jar` on.
-- **sbt tweaks**. Logging and stack traces are turned down to be less distracting.
-- **git**. The `.gitignore` file is ready to go.
-
-## Customize for your project ##
-* `cd` into the `sbt-prototype` directory.
-* Run `grep -ri myproj . | grep -v target`. Replace every instance of `myproj` with your project's name.
-* Run `grep -ri yuvimasory . | grep -v target` and replace every instance of `com.yuvimasory` with your package name.
-* Fill in the `LICENSE` file with the text of your program's license.
-* If you change your program entry point from the provided one, remember to update the `mainClass` definitions in `build.sbt`.
-* If you want to change your program's version number from `alpha` to something more descriptive, like `1.0`, update the `version` definition in `build.sbt`.
View
0 0.10.x/src/main/java/.keep
No changes.
View
0 0.10.x/src/main/resources/.keep
No changes.
View
8 0.10.x/src/main/scala/Main.scala
@@ -1,8 +0,0 @@
-package com.yuvimasory.myproj
-
-object Main {
-
- def main(args: Array[String]) {
- println("hello myproj")
- }
-}
View
0 0.10.x/src/test/java/.keep
No changes.
View
0 0.10.x/src/test/resources/.keep
No changes.
View
9 0.7.x/.ensime
@@ -1,9 +0,0 @@
-;; This config was generated using ensime-config-gen. Feel free to customize its contents manually.
-
-(
-
-:project-package "com.yuvimasory.myproj"
-
-:use-sbt t
-
-)
View
16 0.7.x/README.md
@@ -1,16 +0,0 @@
-# sbt-prototype is the starting point for all my projects #
-
-## Features ##
-- **ScalaTest**. Some sample tests are in `src/test/scala`. Run them with `sbt test`.
-- **ENSIME**. The `sbt-prototype/.ensime` file is configured so you can start up ENSIME in emacs with `M-x ensime` and just hit enter.
-- **ProGuard**. This is just so you can make an executable jar out of your project. Run `sbt proguard` and there will be an executable jar `sbt-prototype/target/scala_*/myproj-alpha.min.jar` that you can run `java -jar` on.
-- **sbt tweaks**. Logging and stack traces are turned down to be less distracting; `javac` and `scalac` options are added for greater error checking; more customized scaladocs are created; your project's `README.md` and `LICENSE` files will be included in the resulting jars.
-- **git**. The `.gitignore` file is ready to go.
-
-## Customize for your project ##
-* `cd` into the `sbt-prototype` directory.
-* Run `grep -ri myproj . | grep -v target`. Replace every instance of `myproj` with your project's name.
-* Run `grep -ri yuvimasory . | grep -v target` and replace every instance of `com.yuvimasory` with your package name.
-* Fill in the `LICENSE` file with the text of your program's license.
-* If you change your program entry point from the provided one, remember to update the `mainClass` definition in `project/build/Project.scala`.
-* If you want to change your program's version number from `alpha` to something more descriptive, like `1.0`, update the `project.version` definition in `project/build.properties`.
View
8 0.7.x/project/build.properties
@@ -1,8 +0,0 @@
-#Project properties
-#Mon Dec 20 21:14:14 EST 2010
-project.organization=myproj
-project.name=myproj
-sbt.version=0.7.7
-project.version=alpha
-build.scala.versions=2.9.0-1
-project.initialize=false
View
51 0.7.x/project/build/Project.scala
@@ -1,51 +0,0 @@
-import sbt._
-
-class Project(info: ProjectInfo) extends DefaultProject(info)
- with ProguardProject with Exec {
-
- //project name
- override val artifactID = "myproj"
-
- //managed dependencies from built-in repositories
- val scalatest = "org.scalatest" %% "scalatest" % "1.6.1"
- // val jsap = "com.martiansoftware" % "jsap" % "2.1"
-
- //dependencies from external repositories
- // val scalaToolsSnapshots = (
- // "Scala-Tools Maven2 Snapshots Repository" at
- // "http://scala-tools.org/repo-snapshots"
- // )
-
- //files to go in packaged jars
- val extraResources = "README.md" +++ "LICENSE"
- override val mainResources = super.mainResources +++ extraResources
-
- //turn down logging a bit
- log.setLevel(Level.Warn)
- log.setTrace(2)
-
- //program entry point
- override def mainClass: Option[String] = Some("com.yuvimasory.myproj.Main")
-
- //compiler options
- override def compileOptions = super.compileOptions ++
- compileOptions("-deprecation", "-unchecked")
- override def javaCompileOptions =
- JavaCompileOption("-Xlint:unchecked") :: super.javaCompileOptions.toList
-
- //scaladoc options
- override def documentOptions =
- LinkSource ::
- documentTitle(name + " " + version + " API") ::
- windowTitle(name + " " + version + " API") ::
- Nil
-
- //proguard
- override def proguardOptions = List(
- "-dontshrink -dontoptimize -dontobfuscate -dontpreverify -dontnote " +
- "-ignorewarnings",
- proguardKeepAllScala
- )
- override def proguardInJars =
- Path.fromFile(scalaLibraryJar) +++ super.proguardInJars
-}
View
6 0.7.x/project/plugins/Plugins.scala
@@ -1,6 +0,0 @@
-import sbt._
-
-class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
-
- val proguard = "org.scala-tools.sbt" % "sbt-proguard-plugin" % "0.0.5"
-}
View
3 0.7.x/project/plugins/project/build.properties
@@ -1,3 +0,0 @@
-#Project properties
-#Mon Aug 15 23:47:35 EDT 2011
-plugin.uptodate=true
View
18 0.7.x/src/test/scala/MainTest.scala
@@ -1,18 +0,0 @@
-package com.yuvimasory.myproj
-
-import org.scalatest.FunSuite
-
-class MainTest extends FunSuite {
-
- test("myproj dummy test works") {
- assert(1 === 1)
-
- expect(1) {
- 2 - 1
- }
-
- intercept[IllegalArgumentException] {
- throw new IllegalArgumentException()
- }
- }
-}
View
0 0.7.x/LICENSE → LICENSE
File renamed without changes.
View
17 README.md
@@ -1,4 +1,15 @@
-Choose your path ...
+# sbt-prototype is the starting point for all my projects #
-- [sbt 0.7.x](https://github.com/ymasory/sbt-prototype/tree/master/0.7.x) (legacy)
-- [sbt 0.10.x](https://github.com/ymasory/sbt-prototype/tree/master/0.10.x) (current)
+## Features ##
+- **ScalaCheck**. Some sample tests are in `src/test/scala`. Run them with `sbt test`.
+- **ProGuard**. This is just so you can make an executable jar out of your project. Run `sbt proguard` and there will be an executable jar `sbt-prototype/target/scala_*/myproj-alpha.min.jar` that you can run `java -jar` on.
+- **sbt tweaks**. Logging and stack traces are turned down to be less distracting.
+- **git**. The `.gitignore` file is ready to go.
+
+## Customize for your project ##
+* `cd` into the `sbt-prototype` directory.
+* Run `grep -ri myproj . | grep -v target`. Replace every instance of `myproj` with your project's name.
+* Run `grep -ri yuvimasory . | grep -v target` and replace every instance of `com.yuvimasory` with your package name.
+* Fill in the `LICENSE` file with the text of your program's license.
+* If you change your program entry point from the provided one, remember to update the `mainClass` definitions in `build.sbt`.
+* If you want to change your program's version number from `alpha` to something more descriptive, like `1.0`, update the `version` definition in `build.sbt`.
View
0 0.10.x/build.sbt → build.sbt
File renamed without changes.
View
0 0.10.x/project/plugins/build.sbt → project/plugins/build.sbt
File renamed without changes.
View
0 0.7.x/src/test/resources/.keep → src/main/java/.keep
File renamed without changes.
View
0 0.7.x/src/test/java/.keep → src/main/resources/.keep
File renamed without changes.
View
0 0.7.x/src/main/scala/Main.scala → src/main/scala/Main.scala
File renamed without changes.
View
0 0.7.x/src/main/resources/.keep → src/test/java/.keep
File renamed without changes.
View
0 0.7.x/src/main/java/.keep → src/test/resources/.keep
File renamed without changes.
View
0 0.10.x/src/test/scala/MainTest.scala → src/test/scala/MainTest.scala
File renamed without changes.

0 comments on commit 93533fe

Please sign in to comment.
Something went wrong with that request. Please try again.