Skip to content

Commit

Permalink
Rename index.sh to verify.sh and change semantics accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
anfelor committed Apr 17, 2018
1 parent 760b3fe commit 41ce226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ before_install:
- docker pull scottfleischman/agda:2.5.2

script:
- docker run -v $TRAVIS_BUILD_DIR:/opt/agda-build scottfleischman/agda:2.5.2 /bin/sh -c 'cd /opt/agda-build; ./index.sh; agda -i . -i src/ index.agda'
- docker run -v $TRAVIS_BUILD_DIR:/opt/agda-build scottfleischman/agda:2.5.2 /bin/sh -c 'cd /opt/agda-build; ./verify.sh'
3 changes: 2 additions & 1 deletion index.sh → verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ rm -rf index.agda;
echo "module index where" >> index.agda;
for i in $( find src -name "*.agda" | sed 's/src\/\(.*\)\.agda/\1/' | sed 's/\//\./g' | sort ); do
echo "import $i" >> index.agda;
done
done;
agda -i . -i src/ index.agda

0 comments on commit 41ce226

Please sign in to comment.