vamchale/polyglot

nicer ignores

By Vanessa McHale <vanessa.mchale@reconfigure.io> on November 30, 2017
This patch is not signed. Learn here why and how to sign your patches.
AeRLmLzUPjtbGhLuMxU1H2LkCdqcyFGTtJzeNdpL3uACpWn94GFxJTrGoMKS9gKNqFu5BvP6pS3gQAcSoYeBdbPs

This patch is in the following branches:

master
In file .ignore
1
2
3
4
build
.shake
.git
man/poly.1
In file Justfile
1
2
3
4
5
6
7
8
9
10

11


12
13
14

15
16
17
18
19




ci:
    @yamllint .travis.yml
    @hlint shake.hs
    @./build

release:
    git tag "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    git push origin --tags
    git tag -d "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    git push origin master
    pijul tag "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    pijul tag -m "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    github-release upload -s $(cat ~/.git-token) -u vmchale -r polyglot -n man/poly.1 -t "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    github-release upload -s $(cat ~/.git-token) -u vmchale -r polyglot -n target/poly -t "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    pijul push -a
    github-release release -s $(cat ~/.git-token) -u vmchale -r polyglot -t "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    github-release upload -s $(cat ~/.git-token) -u vmchale -r polyglot -n poly.1 -f man/poly.1 -t "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    github-release upload -s $(cat ~/.git-token) -u vmchale -r polyglot -n poly -f target/poly -t "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"
    github-release upload -s $(cat ~/.git-token) -u vmchale -r polyglot -n poly.usage -f compleat/poly.usage -t "$(grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats)"

next:
    @export VERSION=$(cat src/polyglot.dats | grep -P -o '\d+\.\d+\.\d+' src/polyglot.dats | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "s/[0-9]\+\.[0-9]\+\.[0-9]\+\+/$VERSION/" src/polyglot.dats
    @git commit -am "version bump"

gcc:
gcc:
    gcc target/polyglot.c -I/home/vanessa/git-builds/ATS2-Postiats-include-0.3.7/ccomp/runtime -I/home/vanessa/git-builds/ATS2-Postiats-include-0.3.7/
In file shake.hs
16





         , "man/poly.1"
         , "target/poly-s390x-linux-gnu"
         , "target/poly-aarch64-linux-gnu"
         , "target/poly-sparc64-linux-gnu"
         , "target/poly-arm-linux-gnueabihf"
         , "target/poly-arm-linux-gnueabi"