packages feed

ats-pkg 2.1.0.3 → 2.1.0.5

raw patch · 5 files changed

+104/−6 lines, 5 filessetup-changedPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -91,14 +91,14 @@  ``` 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/compat.dats"       , target = "target/poly"-      , libs = ([] : List Text)-      , gc = True       }     ]   , dependencies = [ https://raw.githubusercontent.com/vmchale/ats-concurrency/master/atspkg.dhall ]
Setup.hs view
@@ -4,6 +4,13 @@ import           Distribution.Simple import           Distribution.Types.HookedBuildInfo +installActions :: IO ()+installActions = foldr (>>) (pure ()) +    [ writeManpages "man/atspkg.1" "atspkg.1"+    , writeTheFuck+    , writeBashCompletions "atspkg"+    ]+     main :: IO () main = defaultMainWithHooks $-    simpleUserHooks { preConf = \_ _ -> writeTheFuck >> writeBashCompletions "atspkg" >> pure emptyHookedBuildInfo }+    simpleUserHooks { preConf = \_ _ -> installActions >> pure emptyHookedBuildInfo }
ats-pkg.cabal view
@@ -1,5 +1,5 @@ name:                ats-pkg-version:             2.1.0.3+version:             2.1.0.5 synopsis:            Package manager for ATS description:         A collection of scripts to make building ATS projects easy. homepage:            https://github.com/vmchale/atspkg#readme@@ -12,6 +12,7 @@ build-type:          Custom extra-doc-files:     README.md extra-source-files:  stack.yaml+                   , man/atspkg.1 cabal-version:       1.18  Flag development {
+ man/atspkg.1 view
@@ -0,0 +1,90 @@+.\" Automatically generated by Pandoc 2.1.1+.\"+.TH "atspkg (1)" "" "" "" ""+.hy+.SH NAME+.PP+atspkg \- a build tool for ATS+.SH DESCRIPTION+.PP+\f[B]atspkg\f[] is a build tool for the ATS2 language, written in+Haskell.+.SH SYNOPSIS+.PP+atspkg build+.PP+atspkg install+.PP+atspkg remote <url>+.PP+atspkg clean+.PP+atspkg nuke+.PP+atspkg test+.SH SUBCOMMANDS+.PP+\f[B]build\f[] \- Build all binary targets listed in atspkg.dhall+.PP+\f[B]test\f[] \- Run all tests listed in atspkg.dhall+.PP+\f[B]clean\f[] \- Clean current project directory+.PP+\f[B]nuke\f[] \- Remove all local files installed by \f[B]atspkg\f[]+.PP+\f[B]remote\f[] \- Download a tarball from the given URL and try to+build its binary targets+.PP+\f[B]install\f[] \- Install binary targets to $HOME/.local/bin and+relevant manpages to $HOME/.local/share/man/man1+.SS OPTIONS+.TP+.B \f[B]\-h\f[] \f[B]\-\-help\f[]+Display help+.RS+.RE+.TP+.B \f[B]\-V\f[] \f[B]\-\-version\f[]+Display version information+.RS+.RE+.TP+.B \f[B]\-c\f[] \f[B]\-\-no\-cache\f[]+Ignore cached configuration file+.RS+.RE+.SH CONFIGURATION+.PP+\f[B]atspkg\f[] is configured with Dhall, in an atspkg.dhall file.+\f[B]atspkg\f[] can be configured to produce binary targets (possibly+linked against Haskell libraries), as well as plain C targets.+.SS TEMPLATES+.PP+There are several template avaiable for \f[B]pi\f[] as well (see+https://crates.io/crates/project_init for more details).+A couple examples:+.IP+.nf+\f[C]+pi\ new\ ats\ project+\f[]+.fi+.IP+.nf+\f[C]+pi\ fetch\ vmchale/haskell\-ats\ ambitious\-project+\f[]+.fi+.SH BUGS+.PP+Please report any bugs you may come across to+https://github.com/vmchale/atspkg/issues (for issues in atspkg proper)+or https://hub.darcs.net/vmchale/ats/issues (for issues in supporting+libraries).+.SH COPYRIGHT+.PP+Copyright 2018.+Vanessa McHale.+All Rights Reserved.+.SH AUTHORS+Vanessa McHale<vamchale@gmail.com>.
src/Language/ATS/Package/Exec.hs view
@@ -24,7 +24,7 @@ wrapper = info (helper <*> versionInfo <*> command')     (fullDesc     <> progDesc "The atspkg build tool for ATS-Postiats."-    <> header "atspkg - a build tool for ATS")+    <> header "atspkg - a build tool for ATS\nsee 'man atspkg' for more detailed help")  versionInfo :: Parser (a -> a) versionInfo = infoOption ("atspkg version: " ++ showVersion version) (short 'v' <> long "version" <> help "Show version")