Skip to content

Instantly share code, notes, and snippets.

@jdegoes
Created December 7, 2014 22:49
Show Gist options
  • Save jdegoes/a25ca1cebe226ff469f2 to your computer and use it in GitHub Desktop.
Save jdegoes/a25ca1cebe226ff469f2 to your computer and use it in GitHub Desktop.
More ideas on Purescript-based dependency management & build tool
data Dep a b
dir :: forall a. String -> Dep a File
file :: forall a. String -> Dep a File
depends = git :// "git@github.com:bodil/purescript-signal.git" ## "1.2.3" <>
git :// "git@github.com:purescript-contrib/purescript-dom.git" ## "2.1.2" <>
bower :// "purescript-strongcheck" ## "0.7.1"
main_src = depends >>> dir "/core/src"
build_src = main_src >>> pscMake opts >>> concatAll "output/index.js"
build_css = static $ dir "/assets/**.css" >>> concatAll "output/main.css"
build_all = build_src &&& build_css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment