ats-pkg 2.0.0.12 → 2.0.0.13
raw patch · 4 files changed
+11/−13 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +9/−9
- ats-pkg.cabal +1/−1
- src/Language/ATS/Package/Build.hs +0/−2
- stack.yaml +1/−1
README.md view
@@ -55,13 +55,14 @@ ```dhall let pkg = https://raw.githubusercontent.com/vmchale/atspkg/master/pkgs/default.dhall+in+let dbin = https://raw.githubusercontent.com/vmchale/atspkg/master/pkgs/default-bin.dhall in pkg // { bin =- [+ [ dbin // { src = "src/program.dats" , target = "target/program"- , gc = True } ] }@@ -85,10 +86,8 @@ in dep ``` -This defines a dependency by pointing to its tarball. Unlike-[cabal](https://www.haskell.org/cabal/) or other sophisticated package managers,-`atspkg` does not allow transitive dependencies and it does not do any-constraint solving. Let's look at a simple example:+This defines a dependency by pointing to its tarball. Let's look at a simple+example: ``` let pkg = https://raw.githubusercontent.com/vmchale/atspkg/master/pkgs/default.dhall@@ -109,7 +108,8 @@ As Dhall is distributed, you can simply point to the package configuration URL to add a dependency. You can find several preconfigured packages [here](https://github.com/vmchale/atspkg/tree/master/pkgs), or you can write-your own configurations.+your own configurations. You can even make package lists that are later filtered+if you so choose. ### Building a Haskell Library @@ -128,7 +128,7 @@ `ambitious-project.c` in the default directory (i.e. `cbits`). You can then call the generated code just as you would call C. -You may wish to consider+You may want to consider [ats-setup](http://hackage.haskell.org/package/ats-setup) as well if you are packaging the Haskell for distribution. @@ -136,4 +136,4 @@ You can see a demo [here](https://github.com/vmchale/fast-arithmetic). Currently, there is not generic `Storable` instance for ATS, so the process is-a bit more involved than I'd like it to be.+a bit more involved than is ideal.
ats-pkg.cabal view
@@ -1,5 +1,5 @@ name: ats-pkg-version: 2.0.0.12+version: 2.0.0.13 synopsis: Package manager for ATS description: A collection of scripts to make building ATS projects easy. homepage: https://github.com/vmchale/atspkg#readme
src/Language/ATS/Package/Build.hs view
@@ -111,9 +111,7 @@ options :: Bool -> ShakeOptions options rb = shakeOptions { shakeFiles = ".atspkg" , shakeThreads = 4- , shakeProgress = progressSimple , shakeLint = Just LintBasic- , shakeColor = True , shakeVersion = showVersion version , shakeRebuild = bool mempty [(RebuildNow, ".atspkg/config")] rb }
stack.yaml view
@@ -8,7 +8,7 @@ - composition-prelude-1.1.0.2 - language-ats-0.1.1.11 - cli-setup-0.1.0.3- - hs2ats-0.2.0.0+ - hs2ats-0.2.0.1 flags: ats-pkg: development: false