Skip to content

Commit

Permalink
[PB] Updated build script to support shippable
Browse files Browse the repository at this point in the history
  • Loading branch information
pbellchambers committed Apr 5, 2015
1 parent b5b19e2 commit 6f3b261
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ hs_err_pid*
*.iml
.iml
build
shippable
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#WineBrewDB [![Build Status](https://travis-ci.org/pbellchambers/winebrewdb.svg?branch=master)](https://travis-ci.org/pbellchambers/winebrewdb)
#WineBrewDB [![Build Status](https://api.shippable.com/projects/5521b1bc5ab6cc1352b899ad/badge?branchName=master)](https://app.shippable.com/projects/5521b1bc5ab6cc1352b899ad/builds/latest)
A database that keeps track of all your brews, recipes, costs, and includes some other handy tools for the home wine brewer.


Expand All @@ -9,7 +9,7 @@ Changelog - [https://github.com/pbellchambers/winebrewdb/blob/master/CHANGELOG.m


##System Requirements
[Java 8+](http://java.com/download)
[Java 8 update 40+](http://java.com/download)


##Screenshots
Expand Down
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,18 @@ task renameFiles {
}
}

task copyFiles(type: Sync) {
file('shippable').mkdir()
from 'build/distributions'
into 'shippable'
include '**/*.zip'
}

jarDistTar.dependsOn 'jar'
jarDistZip.dependsOn 'jar'
exe.dependsOn 'jar'
exeDistTar.dependsOn 'exe'
exeDistZip.dependsOn 'exe'
createAppZip.dependsOn 'createApp'
createDmg.enabled = false
createDmg.enabled = false
copyFiles.dependsOn 'renameFiles'
4 changes: 3 additions & 1 deletion .travis.yml → shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ before_install:
- sudo apt-get install -y ia32-libs
- sudo apt-get install oracle-java8-installer

script: gradle clean build jarDistZip exeDistZip createAppZip renameFiles
script: gradle clean build jarDistZip exeDistZip createAppZip renameFiles copyFiles

archive: true

0 comments on commit 6f3b261

Please sign in to comment.