From da11372a6cfd5b7c110814dc4ac964e758dae70c Mon Sep 17 00:00:00 2001
From: Miguel
+ This is a minimalistic Haskell project consisting of a small library located in ./src/ as well as the main app in ./app/.
+ The project is powerd by Gradle build automation and the Stack dependency management. It works as a living example and proof of concept for a build inside our Jenkins instance.
+ You can have a look at the build process defined in ./build.gradle.kts, which calls all the necessary Stack commands.
+
+ To build this project yourself, you might need to install a few dependancies. On Debian-based distros run:
+
+ Building a Haskell Project powered by Stack/Gradle/Jenkins
+ Intro
+Prequisites
+
+ sudo apt-get update
+ sudo apt-get install make gcc libgmp3-dev default-jre git
+
+
+ This will not hurt, if the packages are installed already.
+
+ This repo is served proudly via the git-daemon. You can simply clone it via: +
+ git clone git://andromeda.softwarefools.com/miguel/gradle_jenkins_test_02 ++ + +
+ Finally enter the project directory and invoke gradle with: +
+ cd gradle_jenkins_test_02 + ./gradlew stack-exec ++ + It will take some time until all dependancies are resolved but finally you should see the + output of the assembled and executed binary. + +
+ Read more about the individual projects behind this setup: +