From f8e66fe89cf013007cbe2bedda21b1cc7dd12267 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Wed, 7 Aug 2013 18:24:19 -0400 Subject: [PATCH] Docs: remove remnants of static site --- src/jekyll/index.html | 374 ---------------------------------------- src/jekyll/plugins.html | 109 ------------ 2 files changed, 483 deletions(-) delete mode 100644 src/jekyll/index.html delete mode 100644 src/jekyll/plugins.html diff --git a/src/jekyll/index.html b/src/jekyll/index.html deleted file mode 100644 index 19dfa2d6a..000000000 --- a/src/jekyll/index.html +++ /dev/null @@ -1,374 +0,0 @@ ---- -layout: none -title: simple build tool -tagline: is a minimally intrusive
build tool for Scala projects -description: '' ---- - - - - - - simple build tool - - - - - - {% include topbar.txt %} - -
- -
- -
-
- Are you a unix/osx or a Windows user? -
-

- If you are running an unix-based operating system, open your terminal shell and enable execute permisions on the sbt script -

-
$ chmod u+x sbt
-

- Then run the install command to get the latest -

-
$ sbt
-

- Afterwards you can run the sbt command in any directory to create a new project. -

-
-
- If you're feeling adventurous, try our MSI installer. -
-
-
-
- -
- -
- -
    - -
  • -

    Say hi to the REPL.

    -
    -
    -
    $ sbt
    -> hello_
    -
    -
    -

    - From the REPL you can execute project tasks and inspect settings -

    -
    -
    -
    > compile
    -[info] Compiling 1 Scala source to ...
    -[success] Total time: 1 s, completed Aug 21, 2011 7:34:52 PM
    -
    -
    -

    - All settings and commands are tab-completable for fast, easy access -

    -
    -
    -
    > show <tab>
    -Display all 153 possibilities? (y or n) 
    -
    -
    - -
  • - -
  • -

    Typesafety is a given.

    -
    -
    -

    - All project configuration is scripted in Scala providing out of the box modularity and all of the flexibility of the Scala programming language. -

    -
    -
    -
    override lazy val settings = super.settings :+
    -    (shellPrompt := { s => Project.extract(s).cid + "> " })
    -
    -
    -

    - Simple projects will only require a simple configuration in .sbt format. -

    -
    -
    -
    organization := "com.your.domain"
    -name := "your-module"
    -version := "0.1.3"
    -libraryDependencies += "com.other.domain" %% "other-module" % "1.0"
    -
    -
    -
    - -
  • - -
  • -

    Simple Extensibility.

    -
    -
    -

    - Plugins provide a means of injecting and augmenting settings and commands. Since plugins are just Scala code, you can package and share plugins between projects. -

    -
    -
    -
    object MyPlugin extends Plugin {
    -  val MyConf = config("my")
    -  override def settings: Seq[Setting[_]] = inConfig(MyConf)(Seq(
    -    // ...
    -  ))
    -}
    -
    -
    - -
  • - -
  • -

    Only what you need.

    -
    -
    -

    - Sbt will only compile source code that has changed and when necessary. Why wait around for something to be recompiled when you can be doing more productive work? -

    -
    -
    -
    > compile
    -[info] Compiling 1 Scala source to ...
    -[success] Total time: 1 s, completed Aug 21, 2011 7:34:52 PM
    -> compile
    -[success] Total time: 1 s, completed Aug 21, 2011 7:34:54 PM
    -
    -
    -
    - -
  • - -
  • -

    Do repeat yourself.

    -
    -
    -

    - All build tasks and commands can be re-triggered when dependent source code changes by prepending the ~ modifier, leaving you free to focus on your craft and not on life-wasting repetition. -

    -
    -
    -
    > ~ test
    -
    -
    - -
  • - -
  • -

    Fluency in many dialects.

    -
    -
    -

    - Scala is a fast evolving and forward thinking language which, in the past, has led to binary incompatibility between versions. Sbt makes it simple to switch between and execute commands against your Scala source code over many versions of Scala with ease. -

    -
    -
    -
    > + compile
    -
    -
    -
    - Is that all? - - -
  • -

    Many frameworks. One test interface.

    -
    -
    -

    - For some, testing is an afterthought. Sbt makes testing part of your normal workflow by providing a generic interface to validate your code against any supporting testing library. -

    -
    -
    -
    > test-only your.EasySpec
    -
    -
    - -
  • - -
  • -

    There's room for more in here.

    -
    -
    -

    - When it's time to make the split, Sbt makes it easy to coordinate multiple projects in one simple build file. -

    -
    -
    -
    object YourBuild extends Build {
    -   lazy val root = Project(".", file("."), settings = Seq(..)) aggregate(a, b)
    -   lazy val b = Project("b", file("b"))
    -   lazy val c = Project("c", file("c")) dependsOn(b)
    -}
    -
    -
    - -
  • - -
  • -

    Why wait?

    -
    -
    -

    - By default, build tasks that do not depend on one another execute in parallel. This also applies to your tests. Instead of sequentially executing your tests, Sbt will run them in parallel. - ...something about parallel task execution... -

    -
    -
    -
    /* fill me in */
    -
    -
    - -
  • - -
  • -

    Simply dependable.

    -
    -
    -

    - Close your eyes. Now open them. You no longer have to manage your dependencies in XML. Use a simple declarative DSL to add dependencies and sbt takes care of the rest. -

    -
    -
    -
    libraryDependencies ++= Seq(
    -  "com.scalaproject" %% "module-a" % "1.4.7",
    -  "com.javaproject" % "module-b" % "2.1.0"
    -)
    -
    -
    - -
  • - -
- -
- - - - diff --git a/src/jekyll/plugins.html b/src/jekyll/plugins.html deleted file mode 100644 index b6a3e79a7..000000000 --- a/src/jekyll/plugins.html +++ /dev/null @@ -1,109 +0,0 @@ ---- -layout: default -title: Plugins -tagline: There's a plugin for that. -description: | - SBT has a rich community of plugins contributed by a set of very amazing people. -toplinks: - - name: 'IDEs' - id: 'ides' - content: | - * IntelliJ IDEA - * [SBT Plugin to generate IDEA project configuration](https://github.com/mpeltonen/sbt-idea) - * [IDEA Plugin to embed an SBT Console into the IDE](https://github.com/orfjackal/idea-sbt-plugin) - * [Netbeans](https://github.com/remeniuk/sbt-netbeans-plugin) - * [Eclipse](https://github.com/typesafehub/sbteclipse) - - name: 'Web' - id: 'web' - content: | - * [xsbt-web-plugin](https://github.com/JamesEarlDouglas/xsbt-web-plugin) - * [xsbt-webstart](https://github.com/ritschwumm/xsbt-webstart) - * [sbt-appengine](https://github.com/sbt/sbt-appengine) - * [sbt-gwt-plugin](https://github.com/thunderklaus/sbt-gwt-plugin) - * [sbt-cloudbees-plugin](https://github.com/timperrett/sbt-cloudbees-plugin) - * [coffeescripted-sbt](https://github.com/softprops/coffeescripted-sbt) - * [less-sbt](https://github.com/softprops/less-sbt) - * [sbt-emberjs](https://github.com/stefri/sbt-emberjs) - * [sbt-closure](https://github.com/eltimn/sbt-closure) - - name: 'Testing' - id: 'test' - content: | - * [junit_xml_listener](https://github.com/ijuma/junit_xml_listener) - * [sbt-growl-plugin](https://github.com/softprops/sbt-growl-plugin) - * [sbt-teamcity-test-reporting-plugin](https://github.com/guardian/sbt-teamcity-test-reporting-plugin) - * [xsbt-cucumber-plugin](https://github.com/skipoleschris/xsbt-cucumber-plugin) - * [sbt-scct](https://github.com/dvc94ch/sbt-scct) - * [jacoco4sbt](https://bitbucket.org/jmhofer/jacoco4sbt) - - name: 'Static Code Analysis' - id: 'staticcode' - content: | - * [cpd4sbt](https://bitbucket.org/jmhofer/cpd4sbt) (copy/paste detection, works for Scala, too) - * [findbugs4sbt](https://bitbucket.org/jmhofer/findbugs4sbt) (FindBugs only supports Java projects atm) - - name: 'One Jar' - id: 'onejar' - content: | - * [sbt-assembly](https://github.com/sbt/sbt-assembly) - * [xsbt-proguard-plugin](https://github.com/siasia/xsbt-proguard-plugin) - * [sbt-deploy](https://github.com/reaktor/sbt-deploy) - * [sbt-appbundle](https://github.com/sbt/sbt-appbundle) - - name: 'Graphics' - id: 'lwjgl' - content: | - * [sbt-lwjgl-plugin](https://github.com/philcali/sbt-lwjgl-plugin) - LWJGL (LightWeight Java Game Library) - - name: 'Release' - id: 'release' - content: | - * [posterous-sbt](https://github.com/n8han/posterous-sbt) - * [sbt-signer-plugin](https://github.com/rossabaker/sbt-signer-plugin) - * [sbt-izpack](http://software.clapper.org/sbt-izpack/) (generates IzPack an installer) - * [sbt-pgp-plugin](https://github.com/sbt/xsbt-gpg-plugin) (PGP signing plugin, can generate keys too) - * [sbt-release](https://github.com/gseitz/sbt-release) (customizable release process) - - name: 'System' - id: 'system' - content: | - * [sbt-sh](https://github.com/steppenwells/sbt-sh) (executes shell commands) - * [cronish-sbt](https://github.com/philcali/cronish-sbt) (interval sbt / shell command execution) - * [git](https://github.com/sbt/sbt-git-plugin) (executes git commands) - - name: 'Code Generator' - id: 'codegen' - content: | - * [sbt-scalaxb](https://github.com/eed3si9n/scalaxb) (XSD and WSDL binding) - * [sbt-protobuf](https://github.com/gseitz/sbt-protobuf) (Google Protocol Buffers) - * [sbt-avro](https://github.com/cavorite/sbt-avro) (Apache Avro) - * [sbt-xjc](https://github.com/retronym/sbt-xjc) (XSD binding, using [JAXB XJC](http://download.oracle.com/javase/6/docs/technotes/tools/share/xjc.html)) - * [xsbt-scalate-generate](https://github.com/mojolly/xsbt-scalate-generate) (Generate/Precompile Scalate Templates) - * [sbt-antlr](https://github.com/stefri/sbt-antlr) (Generate Java source code based on ANTLR3 grammars) - * [xsbt-reflect](https://github.com/ritschwumm/xsbt-reflect) (Generate Scala source code for project name and version) - * [lifty](https://github.com/lifty/lifty) (Brings scaffolding to SBT) - * [sbt-thrift](https://github.com/bigtoast/sbt-thrift) (Thrift Code Generation) - * [xsbt-hginfo](https://bitbucket.org/lukas_pustina/xsbt-hginfo) (Generate Scala source code for Mercurial repository information) - - name: 'Database' - id: 'db' - content: | - * [sbt-liquibase](https://github.com/bigtoast/sbt-liquibase) (Liquibase RDBMS database migrations) - - name: 'Documentation' - id: 'docs' - content: | - * [sbt-ghpages-plugin](https://github.com/jsuereth/xsbt-ghpages-plugin) (publishes generated site and api) - * [sbt-lwm](http://software.clapper.org/sbt-lwm/) (Convert lightweight markup files, e.g., Markdown and Textile, to HTML) - - name: 'Utility' - id: 'utility' - content: | - * [jot](https://github.com/softprops/jot) (Write down your ideas lest you forget them) - * [ls-sbt](https://github.com/softprops/ls) (An sbt interface for ls.implicit.ly) - * [np](https://github.com/softprops/np) (Dead simple new project directory generation) - * [sbt-editsource](http://software.clapper.org/sbt-editsource/) (A poor man's *sed*(1), for SBT) - * [sbt-dirty-money](https://github.com/sbt/sbt-dirty-money) (Cleans Ivy2 cache) - * [sbt-dependency-graph](https://github.com/jrudolph/sbt-dependency-graph) (Creates a graphml file of the dependency tree) - * [sbt-inspectr](https://github.com/eed3si9n/sbt-inspectr) (Displays settings dependency tree) - * [sbt-revolver](https://github.com/spray/sbt-revolver) (Triggered restart, hot reloading) - * [sbt-scalaedit](https://github.com/kjellwinblad/sbt-scalaedit-plugin) (Open and upgrade ScalaEdit (text editor)) - * [sbt-dropbox-plugin](https://github.com/jberkel/sbt-dropbox-plugin/) (Transfer files to Dropbox) - - name: 'Android' - id: 'android' - content: | - * [android-plugin](https://github.com/jberkel/android-plugin) - ---- - -