stack and ghcjs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

stack and ghcjs

Alan & Kim Zimmerman
The wiki lists a docker image for ghcjs

https://github.com/commercialhaskell/stack/wiki/Docker

  • fpco/stack-build (the default) - GHC (patched), tools (stack, cabal-install, happy, alex, etc.), and system developer libraries required to build all Stackage packages.
  • fpco/stack-ghcjs-build - Like stack-build, but adds GHCJS.
Is there an example somewhere of a GHCJS project using stack and the fpco/stck-ghcjs-build docker image?

Alan



--
Reply | Threaded
Open this post in threaded view
|

Re: stack and ghcjs

Michael Sloan
Hi!

Rather timely, I just wrote up a github comment about how I'm using stack + ghjcs for the School of Haskell:

https://github.com/commercialhaskell/stack/issues/337#issuecomment-113482050

Today, I also pushed a branch to stackage-view with some stack stuff and scripts for building the ghcjs dependencies: 

https://github.com/fpco/stackage-view/commit/109fe5b18e72dc80764afbeb75d892444fccddf2

I hope that helps!
-Michael

On Friday, June 19, 2015 at 4:19:57 AM UTC-7, Alan Zimmerman wrote:
The wiki lists a docker image for ghcjs

<a href="https://github.com/commercialhaskell/stack/wiki/Docker" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fcommercialhaskell%2Fstack%2Fwiki%2FDocker\46sa\75D\46sntz\0751\46usg\75AFQjCNF3iRcJP-h9nE5VCghtjYQV2ysLtg';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fcommercialhaskell%2Fstack%2Fwiki%2FDocker\46sa\75D\46sntz\0751\46usg\75AFQjCNF3iRcJP-h9nE5VCghtjYQV2ysLtg';return true;">https://github.com/commercialhaskell/stack/wiki/Docker

  • <a href="https://registry.hub.docker.com/u/fpco/stack-build/" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.hub.docker.com%2Fu%2Ffpco%2Fstack-build%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNF4OZrRf3KetYc8EyflED5KiAz93Q';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.hub.docker.com%2Fu%2Ffpco%2Fstack-build%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNF4OZrRf3KetYc8EyflED5KiAz93Q';return true;">fpco/stack-build (the default) - GHC (patched), tools (stack, cabal-install, happy, alex, etc.), and system developer libraries required to build all Stackage packages.
  • <a href="https://registry.hub.docker.com/u/fpco/stack-ghcjs-build/" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.hub.docker.com%2Fu%2Ffpco%2Fstack-ghcjs-build%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNG7TVpD5-a_P4YUHNDiZ9chHVJyYg';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fregistry.hub.docker.com%2Fu%2Ffpco%2Fstack-ghcjs-build%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNG7TVpD5-a_P4YUHNDiZ9chHVJyYg';return true;">fpco/stack-ghcjs-build - Like stack-build, but adds GHCJS.
Is there an example somewhere of a GHCJS project using stack and the fpco/stck-ghcjs-build docker image?

Alan



--
Reply | Threaded
Open this post in threaded view
|

Re: stack and ghcjs

Alan & Kim Zimmerman
Looks good, I will give it a try.

Thanks
  Alan

On Fri, Jun 19, 2015 at 1:43 PM, Michael Sloan <[hidden email]> wrote:
Hi!

Rather timely, I just wrote up a github comment about how I'm using stack + ghjcs for the School of Haskell:

https://github.com/commercialhaskell/stack/issues/337#issuecomment-113482050

Today, I also pushed a branch to stackage-view with some stack stuff and scripts for building the ghcjs dependencies: 

https://github.com/fpco/stackage-view/commit/109fe5b18e72dc80764afbeb75d892444fccddf2

I hope that helps!
-Michael


On Friday, June 19, 2015 at 4:19:57 AM UTC-7, Alan Zimmerman wrote:
The wiki lists a docker image for ghcjs

https://github.com/commercialhaskell/stack/wiki/Docker

  • fpco/stack-build (the default) - GHC (patched), tools (stack, cabal-install, happy, alex, etc.), and system developer libraries required to build all Stackage packages.
  • fpco/stack-ghcjs-build - Like stack-build, but adds GHCJS.
Is there an example somewhere of a GHCJS project using stack and the fpco/stck-ghcjs-build docker image?

Alan



--

--