This repository has been archived by the owner on May 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tobias Bielohlawek
committed
Oct 24, 2013
0 parents
commit dbda6e8
Showing
14 changed files
with
718 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
## generic files to ignore | ||
*~ | ||
*.lock | ||
*.DS_Store | ||
*.swp | ||
*.out | ||
|
||
# rails specific | ||
*.sqlite3 | ||
config/database.yml | ||
log/* | ||
tmp/* | ||
|
||
# java specific | ||
*.class | ||
|
||
# python specific | ||
*.pyc | ||
|
||
# xcode/iphone specific | ||
build/* | ||
*.pbxuser | ||
*.mode2v3 | ||
*.mode1v3 | ||
*.perspective | ||
*.perspectivev3 | ||
*~.nib | ||
|
||
# akka specific | ||
logs/* | ||
|
||
# sbt specific | ||
target/ | ||
project/boot | ||
lib_managed/* | ||
project/build/target | ||
project/build/lib_managed | ||
project/build/src_managed | ||
project/plugins/lib_managed | ||
project/plugins/target | ||
project/plugins/src_managed | ||
project/plugins/project | ||
|
||
core/lib_managed | ||
core/target | ||
pubsub/lib_managed | ||
pubsub/target | ||
|
||
# eclipse specific | ||
.metadata | ||
jrebel.lic | ||
.settings | ||
.classpath | ||
.project | ||
|
||
.ensime* | ||
*.sublime-* | ||
.cache | ||
|
||
# intellij | ||
*.eml | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.*.sw? | ||
.idea | ||
|
||
# paulp script | ||
/.lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Vizard # | ||
|
||
## Build & Run ## | ||
|
||
```sh | ||
$ ./sbt | ||
> container:start | ||
> browse | ||
``` | ||
|
||
## autoload | ||
|
||
``` | ||
> ~ ;copy-resources;aux-compile | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=0.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import sbt._ | ||
import Keys._ | ||
import org.scalatra.sbt._ | ||
import org.scalatra.sbt.PluginKeys._ | ||
import com.mojolly.scalate.ScalatePlugin._ | ||
import ScalateKeys._ | ||
|
||
object VizardBuild extends Build { | ||
val Organization = "com.github.rngtng" | ||
val Name = "Vizard" | ||
val Version = "0.1.0-SNAPSHOT" | ||
val ScalaVersion = "2.10.2" | ||
val ScalatraVersion = "2.2.1" | ||
|
||
lazy val project = Project ( | ||
"vizard", | ||
file("."), | ||
settings = Defaults.defaultSettings ++ ScalatraPlugin.scalatraWithJRebel ++ scalateSettings ++ Seq( | ||
organization := Organization, | ||
name := Name, | ||
version := Version, | ||
scalaVersion := ScalaVersion, | ||
resolvers += Classpaths.typesafeReleases, | ||
libraryDependencies ++= Seq( | ||
"org.scalatra" %% "scalatra" % ScalatraVersion, | ||
"org.scalatra" %% "scalatra-scalate" % ScalatraVersion, | ||
"org.scalatra" %% "scalatra-specs2" % ScalatraVersion % "test", | ||
"ch.qos.logback" % "logback-classic" % "1.0.6" % "runtime", | ||
"org.eclipse.jetty" % "jetty-webapp" % "8.1.8.v20121106" % "container", | ||
"org.eclipse.jetty.orbit" % "javax.servlet" % "3.0.0.v201112011016" % "container;provided;test" artifacts (Artifact("javax.servlet", "jar", "jar")) | ||
), | ||
scalateTemplateConfig in Compile <<= (sourceDirectory in Compile){ base => | ||
Seq( | ||
TemplateConfig( | ||
base / "webapp" / "WEB-INF" / "templates", | ||
Seq.empty, /* default imports should be added here */ | ||
Seq( | ||
Binding("context", "_root_.org.scalatra.scalate.ScalatraRenderContext", importMembers = true, isImplicit = true) | ||
), /* add extra bindings here */ | ||
Some("templates") | ||
) | ||
) | ||
} | ||
) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
addSbtPlugin("com.mojolly.scalate" % "xsbt-scalate-generator" % "0.4.2") | ||
|
||
addSbtPlugin("org.scalatra.sbt" % "scalatra-sbt" % "0.3.2") |
Oops, something went wrong.