readme
This commit is contained in:
parent
8a3597f754
commit
93018173f6
26
README.md
26
README.md
@ -8,19 +8,19 @@ Bugtracker/Wiki: http://redmine.pwning.de/projects/pioneers
|
|||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
||||||
1. Clone this repository
|
1. Clone this repository
|
||||||
2. Set up cabal-sandbox
|
2. Set up cabal-sandbox
|
||||||
```
|
```
|
||||||
$ cabal sandbox init
|
$ cabal sandbox init
|
||||||
$ cd deps
|
$ cd deps
|
||||||
$ ./getDeps.sh
|
$ ./getDeps.sh
|
||||||
$ cd ..
|
$ cd ..
|
||||||
$ cabal sandbox add-source deps/hsSDL2
|
$ cabal sandbox add-source deps/hsSDL2
|
||||||
```
|
```
|
||||||
3. install libraries `sudo apt-get install libsdl2` - make sure libsdl2 is in version 2.0.1+ (shipped with Ubuntu since 14.04)
|
3. install libraries `sudo apt-get install libsdl2` - make sure libsdl2 is in version 2.0.1+ (shipped with Ubuntu since 14.04)
|
||||||
4. install dependencies `cabal install --only-dependencies`
|
4. install dependencies `cabal install --only-dependencies`
|
||||||
5. build `cabal build`
|
5. build `cabal build`
|
||||||
6. run `./Pioneers`
|
6. run `./Pioneers`
|
||||||
|
|
||||||
Step 2 is likely to break in the future due to restructuring in hsSDL2. This will be updated accordingly then.
|
Step 2 is likely to break in the future due to restructuring in hsSDL2. This will be updated accordingly then.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user