Skip to content

Instantly share code, notes, and snippets.

@scullxbones
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save scullxbones/9713171 to your computer and use it in GitHub Desktop.

Select an option

Save scullxbones/9713171 to your computer and use it in GitHub Desktop.

Revisions

  1. scullxbones revised this gist Mar 22, 2014. 1 changed file with 0 additions and 7 deletions.
    7 changes: 0 additions & 7 deletions Notes
    Original file line number Diff line number Diff line change
    @@ -1,7 +0,0 @@
    Per http://stackoverflow.com/questions/18374362/multi-version-build-with-sbt

    Driving a multi-library-version build of metrics scala. Shell script attached can be used from metrics-scala root directory as:

    ```$ ./multi-akka.sh package```

    To run a cross build of package for all 3 versions of akka specified.
  2. scullxbones revised this gist Mar 22, 2014. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions Notes.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Per http://stackoverflow.com/questions/18374362/multi-version-build-with-sbt

    Driving a multi-library-version build of metrics scala. Shell script attached can be used from metrics-scala root directory as:

    ```$ ./multi-akka.sh package```

    To run a cross build of package for all 3 versions of akka specified.
  3. scullxbones renamed this gist Mar 22, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. scullxbones created this gist Mar 22, 2014.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    Per http://stackoverflow.com/questions/18374362/multi-version-build-with-sbt

    Driving a multi-library-version build of metrics scala. Shell script attached can be used from metrics-scala root directory as:

    ```$ ./multi-akka.sh package```

    To run a cross build of package for all 3 versions of akka specified.
    5 changes: 5 additions & 0 deletions multi-akka.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    CMD=$1

    sbt "set akkaVersion := \"2.1.4\"" +$CMD "set akkaVersion := \"2.2.4\"" +$CMD "set akkaVersion := \"2.3.0\"" +$CMD