From da11372a6cfd5b7c110814dc4ac964e758dae70c Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 15 Aug 2018 22:02:00 +0200 Subject: added README.html --- README.html | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 README.html diff --git a/README.html b/README.html new file mode 100644 index 0000000..2bc5506 --- /dev/null +++ b/README.html @@ -0,0 +1,52 @@ +

Building a Haskell Project powered by Stack/Gradle/Jenkins

+

Intro

+

+ 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. +

+ +

Prequisites

+

+ To build this project yourself, you might need to install a few dependancies. On Debian-based distros run: + +

+	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. +

+ +

Clone

+

+ 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
+	
+

+ +

Build and Run

+

+ 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. +

+

References

+

+ Read more about the individual projects behind this setup: +

+ 'The whole is more then the sum of its parts..' - Aristotle +

+ +
-- cgit v1.2.3