Skip to content

[Work in Progress] Migrate to Stack#40

Open
clample wants to merge 3 commits into
andorp:masterfrom
clample:stack-migration
Open

[Work in Progress] Migrate to Stack#40
clample wants to merge 3 commits into
andorp:masterfrom
clample:stack-migration

Conversation

@clample

@clample clample commented Aug 20, 2016

Copy link
Copy Markdown

Bead can now be built using stack. First install stack, then run stack setup to download ghc if necessary. The project can then be built using stack build and run using stack exec Bead.

Flags (like Tests, MySQL, SSO) can be passed as follows: stack build --flag Bead:Tests

Not yet done: migrate start-ghci, start-ghci-nosql, ... to use stack ghci

@clample

clample commented Aug 20, 2016

Copy link
Copy Markdown
Author

travis-test.sh should also be migrated to use the stack command

@clample

clample commented Aug 20, 2016

Copy link
Copy Markdown
Author

Dockerfile will need to be updated to install stack and also run stack setup. cabal and ghc will no longer need to be installed in the dockerfile, ghc will be installed by stack setup.

travis is pulling the latest docker image, so the travis build will only pass when an updated docker image is pushed.

@clample clample changed the title Migrate to Stack [Work in Progress] Migrate to Stack Aug 28, 2016
@andorp

andorp commented Sep 16, 2016

Copy link
Copy Markdown
Owner

I need to create a docker image to test this.

@andorp andorp self-assigned this Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants