Code Monkey home page Code Monkey logo

stack2cabal's People

Contributors

brunjlar avatar philderbeast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rcmorano liam-ly

stack2cabal's Issues

When adding git packages, please check subdirs.

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.

stack2cabal-paths

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 '.'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.