GithubHelp home page GithubHelp logo

isabella232 / lein-step-parent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cprice404/lein-step-parent

0.0 0.0 0.0 8 KB

Temporary replacement for lein-parent until Cursive support is fixed

License: Apache License 2.0

Clojure 100.00%

lein-step-parent's Introduction

lein-step-parent

NOTE: If you are using Cursive, you need at least version 1.4.0-eap2-15 in order for this plugin to work!

What is this?

It's a leiningen plugin. It's a hacky knock-off of lein-parent, with fewer features.

Clojars Project

Sounds dumb. Why?

There are some capabilities of lein 2.7.1 and lein-parent that do not yet work properly in the IntelliJ Cursive Clojure plugin (as of version 1.4.0-eap2-15). If you try to load a project that uses lein-parent via the :coords mechanism for specifying the parent artifact coordinates, Cursive will throw an error and fail to load the project.

This plugin will handle parent :coords properly both on the CLI and in IntelliJ.

Why not just stick with this one forever, then?

Because it only supports a small, targeted subset of the capabilities of lein-parent.

What does it support?

It only supports inheriting the :managed-dependencies section from the parent project - no other keys. And if you do anything fancy in your parent project (fancy macros, lein profiles, etc.), it may just not work at all. So don't do anything fancy for now.

Blergh. OK, how do I use it?

NOTE: If you are using Cursive, you need at least version 1.4.0-eap2-15 in order

for this plugin to work!

Specify your parent project configuration just like you would for lein-parent:

:parent-project {:coords [my-cool-namespace/parent "1.0.0"]
                 :inherits [:managed-dependencies]}

Then add lein-step-parent to your plugins list:

:plugins [[lein-step-parent "0.x.x"]]

Latest version is:

Clojars Project

What happens when Cursive is fixed?

We kill this with fire, and remove all traces of it from our project.clj files.

lein-step-parent's People

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.