Giter Club home page Giter Club logo

lein-suck-deps's Introduction

lein-suck-deps

Symlinks or makes copies of all project dependencies to the given target directory. Can be useful when you want to use the products of Leiningen projects in an environment where you for some reason can't use Leiningen.

Status

This is a quick hack that I made for myself. It is likely that this project will not see much maintenance. However should you want to send a pull request I will cladly receive them and merge accordingly.

Installation

This library is unpublished in sense that you will not find the jar available through the Maven ecosystem. To use this library you need to get the sources, build and install the jar to your local Maven repository, and tell Leiningen to look for plug-ins from there.

$ git clone [email protected]:mjhanninen/lein-suck-deps.git
$ cd lein-suck-deps
$ lein install

Then update ~/.lein/profiles.clj to contain the following:

{:user {:plugins [[lein-suck-deps "0.1.0"]]}}

Usage

To create links to the dependencies of myproject inside the directory ~/lib/myproject/3.14:

$ cd path/to/myproject
$ lein suck-deps ~/lib/myproject/3.14

In case you actually wanted to copy the dependencies instead of symlinking:

$ lein suck-deps ~/lib/myproject/3.14 copy

In case you are not sure what you are doing:

$ lein suck-deps ~/lib/myproject/3.14 dry-run

The script requires that the target directory exists.

License

Copyright © 2013 Matti Hänninen

Distributed under the Eclipse Public License, the same as Clojure.

lein-suck-deps's People

Contributors

mjhanninen avatar

Watchers

 avatar James Cloos avatar  avatar

lein-suck-deps's Issues

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.