Skip to content

Commit

Permalink
madlang
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa McHale committed Nov 6, 2017
1 parent 18afa59 commit 648556c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ script:
yamllint .hlint.yaml
yamllint .stylish-haskell.yaml
yamllint .weeder.yaml
yamllint .yamllint
cabal check
else
echo 'skipping checks...'
Expand Down
1 change: 0 additions & 1 deletion .yamllint
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

rules:
braces:
min-spaces-inside: 0
Expand Down
8 changes: 6 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ latest:
check:
git diff master origin/master

deps:
stack list-dependencies | less

timed:
time madlang sample demo/shakespeare.mad

Expand All @@ -16,7 +19,7 @@ darcs:
darcs optimize cache

tokei:
tokei . .*.yml .*.yaml -e Justfile
tokei . .*.yml .*.yaml .yamllint -e Justfile

next:
@export VERSION=$(cat madlang.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.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/" madlang.cabal
Expand All @@ -36,6 +39,7 @@ ci:
yamllint appveyor.yml
yamllint .stylish-haskell.yaml
yamllint .hlint.yaml
yamllint .yamllint

size:
sn d $(fd 'madlang$' -I | tail -n1)
Expand All @@ -59,7 +63,7 @@ install:
cp $(fd 'madlang$' -I | tail -n1) ~/.local/bin

name:
github-release edit -s $(cat .git-token) -u vmchale -r madlang -n "$(madlang run ~/programming/madlang/releases/releases.mad)" -t "$(grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.cabal | head -n1)"
github-release edit -s $(cat ~/.git-token) -u vmchale -r madlang -n "$(madlang run ~/programming/madlang/releases/releases.mad)" -t "$(grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.cabal | head -n1)"

clean:
sn c . -g
Expand Down

0 comments on commit 648556c

Please sign in to comment.