Skip to content
Snippets Groups Projects
Select Git revision
  • 1a31a19e4dfabd30d94517520974c3a428c29e1f
  • main default protected
2 results

input_fj.cpython-39.pyc

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    general_stuff 302 B
    # There are some common things we will use in any script we have for plotting.
    
    exe_dir=../bin
    exe=$exe_dir/ackley_nogfx
    plot_dir=plots
    
    bailout () {
        echo BROKEN
        exit 1
    }
    
    
    if !  [ -x $exe ] ; then
        (cd ..; make ) || bailout
    fi
    
    if ! [ -d $plot_dir ] ; then
        mkdir $plot_dir || bailout
    fi