brunjlar / stack2cabal Goto Github PK
View Code? Open in Web Editor NEWcreating a cabal new-build configuration from a stack configuration
License: MIT License
creating a cabal new-build configuration from a stack configuration
License: MIT License
When adding packages, please check subdirs.
- location:
git: https://github.com/blockscope/hcoord.git
commit: efee5918967a4b5309924bb6ac62c2daa56983a1
subdirs:
- hcoord
- hcoord-utm
extra-dep: true
- location:
git: https://github.com/haskell/fgl.git
commit: e29503775e474b7a7cd8951b6bebcf1529b888b5
extra-dep: true
- location:
git: https://github.com/blockscope/uom-plugin.git
commit: c170a2df329fe8e40d13aea0b4299758d5079bda
subdirs:
- uom-plugin
extra-dep: true
- location:
git: https://github.com/brunjlar/stack2cabal
commit: a8a4cdcacd697cee648af93856735f15de5987a6
extra-dep: true
In the following image showing a file diff, the right pane is the packages section of cabal.project
generated with stack2cabal
. It does not have paths. I've corrected this problem with the file shown in the left pane to include the paths taken from the stack.yaml
file above.
To reproduce, working off flare-timing
at revision 68e62b;
> git clone https://github.com/BlockScope/flare-timing.git
> cd flare-timing
> git reset --hard 68e62b236ca4e7207e559eeb5aec7bb69f44cc6e
> stack install stack2cabal
> mv cabal.project __cabal.project
> stack exec stack2cabal .
creating cabal config for project folder '.'
writing cabal.project
DEPRECATED: Use ls dependencies instead. Will be removed in next major version.
done: writing cabal.project
...
done: creating cabal config for project folder '.'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.