Skip to content

Commit

Permalink
Switched from cabal to stack
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSmeets committed May 6, 2016
1 parent 57e5b97 commit c5fc1d1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
16 changes: 8 additions & 8 deletions FractalArt.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ executable FractalArt
other-extensions: ForeignFunctionInterface
if !os(darwin)
c-sources: cbits/wallpaper.c
build-depends: base >=4.7 && <4.9
, random >=1.0 && <1.2
, mwc-random >=0.13 && <0.14
, directory >=1.2 && <1.3
, filepath >=1.3 && <1.5
, primitive >=0.5 && <0.6
, vector >=0.10 && <0.11
, JuicyPixels >=3.2 && <3.3
build-depends: base
, random
, mwc-random
, directory
, filepath
, primitive
, vector
, JuicyPixels
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -O2
10 changes: 4 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,17 @@ This package is available in the AUR as fractalart-git.

####Building manually

Make sure you have cabal-install and zlib installed.
Make sure you have [stack](http://docs.haskellstack.org/en/stable/install_and_upgrade/) and zlib installed.

Then do:
```shell
$ git clone https://github.com/TomSmeets/FractalArt.git
$ cd FractalArt
$ cabal update
$ cabal install
$ stack install
```

Your executable is: `dist/build/FractalArt/FractalArt`

and on linux also located inside: `~/.cabal/bin`
Your executable will copied to your [local-bin path](http://docs.haskellstack.org/en/stable/install_and_upgrade/#path).
For Unix systems this path is `$HOME/.local/bin` and on Windows `%APPDATA%\local\bin`.

# Windows
If you want a new wallpaper each time you start your PC,
Expand Down
10 changes: 10 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
resolver: lts-5.15

packages:
- '.'

extra-deps: []

flags: {}

extra-package-dbs: []

0 comments on commit c5fc1d1

Please sign in to comment.