Last active
July 18, 2018 21:42
-
-
Save termslang/ae8b2cc9f614cc24a5ebff2cff081d2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- HASKELL NEW PROJECT | |
stack new my-project simple | |
stack setup | |
stack ghci | |
stack build | |
stack exec my-project | |
-- ADD DEPENDENCY haskoin-core TO stack.yaml FILE: | |
packages: | |
- . | |
extra-deps: | |
- haskoin-core-0.4.2 | |
allow-newer: true | |
-- HASKELL CLONE PROJECT | |
git clone {..git} | |
cd {в папку, где .cabal} | |
cabal sandbox init | |
cabal install [все либы в одной строке через пробел, прописанные в зависимостях в .cabal. Версии можно не указывать] | |
cabal configure | |
cabal build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment