ats-format 0.2.0.5 → 0.2.0.8
raw patch · 5 files changed
+6/−109 lines, 5 filesdep ~language-atsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: language-ats
API changes (from Hackage documentation)
Files
- .travis.yml +0/−21
- Justfile +0/−67
- ats-format.cabal +4/−7
- cabal.project.local +0/−12
- stack.yaml +2/−2
.travis.yml view
@@ -33,13 +33,6 @@ curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' fi - chmod a+x ~/.local/bin/stack- - |- if [ `uname` = "Linux" ]- then- pip install yamllint- else- echo "skipping yaml verification..."- fi install: - stack --no-terminal --install-ghc build --only-dependencies@@ -47,20 +40,6 @@ script: - stack --no-terminal build --haddock --no-haddock-deps --test --bench --no-run-tests --no-run-benchmarks - curl -sL https://raw.githubusercontent.com/vmchale/tomlcheck/master/sh/check | sh -s .atsfmt.toml- - |- if [ `uname` = "Linux" ]- then- yamllint stack.yaml- yamllint appveyor.yml- yamllint .yamllint- yamllint .travis.yml- yamllint .hlint.yaml- yamllint .stylish-haskell.yaml- curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s src app- curl -sL https://raw.github.com/ndmitchell/weeder/master/misc/travis.sh | sh -s .- else- echo "skipping yaml verification..."- fi - stack build - | if [ `uname` = "Darwin" ]
− Justfile
@@ -1,67 +0,0 @@-approve FILE:- @atsfmt test/data/{{ FILE }} -o > test/data/$(echo {{ FILE }} | sed 's/\(dats\|sats\)/out/')- sed -i '$d' test/data/$(echo {{ FILE }} | sed 's/\(dats\|sats\)/out/')--next:- @export VERSION=$(ac ats-format.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' ats-format.cabal | head -n1 | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "2s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" ats-format.cabal- sn c .--release:- sn c .- git commit -am "release"- git tag "$(grep -P -o '\d+\.\d+\.\d+\.\d+' ats-format.cabal | head -n1)"- git push origin --tags- git tag -d "$(grep -P -o '\d+\.\d+\.\d+\.\d+' ats-format.cabal | head -n1)"- git push origin master--upload:- rm -rf dist/ .ghc.environment.*- cabal sdist- cabal upload --publish $(fd '\.tar\.gz$' -I)--diff FILE:- @diff <(atsfmt test/data/{{ FILE }} -o) test/data/$(echo {{ FILE }} | sed 's/\(dats\|sats\)/out/') | ac -s--clean:- sn c .- rm -rf tags *.c--polyglot:- @poly . -e data/--bench:- bench "atsfmt test/data/polyglot.dats" "atsfmt test/data/left-pad.dats" "atsfmt ~/programming/ats/toml-parse/src/vml-parse.dats"--manpages:- pandoc man/MANPAGE.md -s -t man -o man/atsfmt.1--install:- @cabal new-build- @cp $(fd 'atsfmt$' -IH dist-newstyle | tail -n1) ~/.local/bin- @cp man/atsfmt.1 ~/.local/share/man/man1--ci: test- cabal new-build- cabal new-haddock- hlint src app- tomlcheck --file .atsfmt.toml- yamllint .travis.yml- yamllint .hlint.yaml- yamllint .stylish-haskell.yaml- yamllint .yamllint- stack build- weeder--test:- @rm -rf rm .ghc.environment.* polyglot- @git clone https://github.com/vmchale/polyglot- cd polyglot && atsfmt src/polyglot.dats -i- cd polyglot && atsfmt src/cli.dats -i- cd polyglot && atsfmt src/concurrency.dats -i- cd polyglot && atsfmt src/shared.dats -i- cd polyglot && atsfmt src/filetype.sats -i- cd polyglot && ./bash/bootstrap.sh && ./build- @rm -rf polyglot--size:- @sn d $(fd 'atsfmt$' -IH dist-newstyle | tail -n1)
ats-format.cabal view
@@ -1,8 +1,7 @@ name: ats-format-version: 0.2.0.5+version: 0.2.0.8 synopsis: A source-code formatter for ATS description: An opinionated source-code formatter for [ATS](http://www.ats-lang.org/).-homepage: https://hub.darcs.net/vmchale/ats-format#readme license: BSD3 license-file: LICENSE author: Vanessa McHale@@ -13,9 +12,7 @@ extra-doc-files: README.md data-files: .travis.yml , appveyor.yml- , Justfile extra-source-files: stack.yaml- , cabal.project.local , .atsfmt.toml , man/atsfmt.1 cabal-version: >=1.18@@ -41,7 +38,7 @@ exposed-modules: Language.ATS.Exec other-modules: Paths_ats_format build-depends: base >= 4.10 && < 5- , language-ats+ , language-ats >= 0.1.1.10 , optparse-applicative , htoml-megaparsec >= 1.1.0.0 , text@@ -74,5 +71,5 @@ ghc-options: -Wall source-repository head- type: git- location: https://github.com/vmchale/ats-format+ type: darcs+ location: https://hub.darcs.net/vmchale/ats
− cabal.project.local
@@ -1,12 +0,0 @@-constraints: ats-format +development-optimization: 2-with-compiler: ghc-8.2.2-tests: True-benchmarks: True-documentation: True-haddock-hoogle: True-haddock-internal: True--program-options- happy-options: -gcsa- alex-options: -g
stack.yaml view
@@ -5,11 +5,11 @@ extra-deps: - ansi-wl-pprint-0.6.8.2 - htoml-megaparsec-1.1.0.1- - composition-prelude-1.1.0.0+ - composition-prelude-1.1.0.2 - dirstream-1.0.3 - hspec-dirstream-0.3.0.0 - cli-setup-0.1.0.3- - language-ats-0.1.0.1+ - language-ats-0.1.1.10 flags: ats-format: development: false