b9 0.2.1 → 0.2.3
raw patch · 9 files changed
+37/−10 lines, 9 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- .travis.yml +1/−0
- README.md +2/−0
- b9.cabal +13/−9
- build_and_run.sh +2/−0
- build_and_test.sh +5/−0
- build_haddock.sh +2/−0
- installDeps.sh +8/−1
- prepare_release.sh +2/−0
- run.sh +2/−0
+ .travis.yml view
@@ -0,0 +1,1 @@+language: haskell
README.md view
@@ -1,5 +1,7 @@ # B9 - A Benign VM-Build Tool +[](https://travis-ci.org/sheyll/b9-vm-image-builder)+ Use B9 to compile your software into a deployable set of Linux-VM- or configuration images, from a set of scripts and input files and templates
b9.cabal view
@@ -1,9 +1,13 @@ name: b9-version: 0.2.1-synopsis: A build tool and library for virtual machines.-description: An experimental tool and library for creating, modifying, running- and sharing virtual machines.- This tools focuses on speed, reliability and correctness.+version: 0.2.3+synopsis: A build tool and library for virtual machine images.+description: Create, modify, use and share virtual machine images;+ assemble and generate all associated files from templates.+ All assembled files can be accessed by vm-build scripts as+ shared directory in the build container, and/or+ can be written to directories, ISO- or VFAT-images.+ ISO/VFAT images are created so 'cloud-init' can recognize them.+ VM-Build are executed in LXC containers managed through libvirt. license: MIT license-file: LICENSE author: Sven Heyll <svh@posteo.de>@@ -14,7 +18,7 @@ category: Development build-type: Simple extra-source-files: README.md, build_and_run.sh, build_and_test.sh, build_haddock.sh, installDeps.sh,- run.sh, LICENSE, TODO.org, Setup.hs, b9.cabal, .gitignore, prepare_release.sh+ run.sh, LICENSE, TODO.org, Setup.hs, b9.cabal, .gitignore, prepare_release.sh, .travis.yml cabal-version: >=1.10 source-repository head@@ -53,7 +57,7 @@ , QuickCheck , aeson , async >=2.0.1 && <2.1- , base >=4.7 && <4.8+ , base >=4.6 && <4.8 , binary >=0.7 && <0.8 , bytestring >=0.10 && <0.11 , conduit >=1.2 && <1.3@@ -93,7 +97,7 @@ -- other-modules: -- other-extensions: build-depends: b9- , base >=4.7 && <4.8+ , base >=4.6 && <4.8 , bytestring >=0.10 && <0.11 , optparse-applicative >= 0.11.0.1 hs-source-dirs: src/cli@@ -111,7 +115,7 @@ , B9.Content.ErlangPropListSpec , B9.Content.YamlObjectSpec , B9.ArtifactGeneratorImplSpec- build-depends: base >=4.7 && <4.8+ build-depends: base >=4.6 && <4.8 , b9 , hspec , hspec-expectations
build_and_run.sh view
@@ -4,5 +4,7 @@ set -e +PATH="$(pwd)/.cabal-sandbox/bin:$PATH"+ cabal install ./run.sh $@
build_and_test.sh view
@@ -1,7 +1,12 @@ #!/bin/bash+# # Install dependencies and enable test compilation, then rebuild the sources and # run all tests.+# set -exu++PATH="$(pwd)/.cabal-sandbox/bin:$PATH"+ cabal configure --enable-tests --disable-optimization cabal build ./dist/build/spec/spec
build_haddock.sh view
@@ -4,4 +4,6 @@ # set -xeu +PATH="$(pwd)/.cabal-sandbox/bin:$PATH"+ cabal haddock
installDeps.sh view
@@ -2,13 +2,20 @@ # # Install the latest stackage lts snapshot, run cabal clean/update and # initialize the cabal sandbox.-+# set -e +PATH="$(pwd)/.cabal-sandbox/bin:$PATH"+ cabal clean -v cabal sandbox delete -v || echo "IGNORING"+ rm -f cabal.config wget http://www.stackage.org/lts/cabal.config+ cabal update -v cabal sandbox -v init++cabal install happy alex haddock+ cabal install -v --only-dependencies --enable-tests -j
prepare_release.sh view
@@ -9,6 +9,8 @@ # set -eu +PATH="$(pwd)/.cabal-sandbox/bin:$PATH"+ ./installDeps.sh ./build_and_test.sh ./build_haddock.sh
run.sh view
@@ -4,6 +4,8 @@ set -e +PATH="$(pwd)/.cabal-sandbox/bin:$PATH"+ if [[ ! -x .cabal-sandbox/bin/b9c ]]; then cabal install fi