Skip to content

Commit

Permalink
Add "demo script" for running git bisect
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Dec 8, 2012
1 parent 21d547b commit 25c1ee2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions contrib/run_bisect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! /bin/bash
# Instructions
# Create a .jl file that looks like this:
# function test()
# do some stuff, perhaps return a value
# end
# @assert test() == 5 # 5 is the correct answer if all is working
# exit()
# Then provide the name of that function after the "julia" call below
make clean # or cleanall if necessary
make
julia /tmp/test.jl
exit $?

0 comments on commit 25c1ee2

Please sign in to comment.