/elm-smuggle

💰 Smuggle git dependencies into Elm (0.19) apps

Primary LanguageHaskellMIT LicenseMIT

elm-smuggle

Build Status GitHub release

Smuggle git dependencies into your Elm apps.

Install

From npm

npm install --global elm-smuggle

From source

stack install

How to use it

TODO

  1. Write some repo URLs to an .elm-smuggle. Commit this file.
  2. Run elm-smuggle from the project root.
  3. Run elm install <smuggled-package-name>

Caveats

Packages to be smuggled should be publishable by elm standards. That means:

  • Packages should be properly documented: elm-make --docs=docs.json should pass when run from the root of the package directory
  • Packages should be (git) tagged by semantic version (MAJOR.MINOR.PATCH)
  • Packages have at least one tag >= 1.0.0

TODO

  • Rethink .elm-smuggle file format