Commit d81a246e authored by Jean-Baptiste Mouret's avatar Jean-Baptiste Mouret
Browse files

[ci skip] sort by date

parent 0c5884a9
......@@ -11,13 +11,13 @@ cd ..
echo "getting the latest benchmark result (needs to be in $HOME/limbo_benchmarks)"
# get the last benchmark
DIR=$HOME/limbo_benchmarks
BENCHMARKS=$DIR/`ls $DIR|sort -n|head -n 1`
BENCHMARKS=$DIR/`ls -t $DIR | head -n 1`
cp $BENCHMARKS/bo_benchmarks.rst docs/bo_benchmarks.rst
cp -r $BENCHMARKS/fig_benchmarks docs
echo "getting the latest regression benchmark result (needs to be in $HOME/limbo_reg_benchmarks)"
DIR=$HOME/limbo_reg_benchmarks
BENCHMARKS=$DIR/`ls $DIR|sort -n|head -n 1`
BENCHMARKS=$DIR/`ls -t $DIR | |head -n 1`
cp $BENCHMARKS/regression_benchmarks.rst docs/reg_benchmarks.rst
cp -r $BENCHMARKS/regression_benchmarks_figs docs/fig_benchmarks
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment