766edf73c99da98b3935f42c234d14acf08c2c0e
markd
  Sat Jun 27 19:37:45 2020 -0700
move index building to a separate gfServer subcommand

diff --git src/gfServer/tests/testIndexFile src/gfServer/tests/testIndexFile
index 386f710..8c00548 100755
--- src/gfServer/tests/testIndexFile
+++ src/gfServer/tests/testIndexFile
@@ -1,11 +1,11 @@
 #!/bin/bash -e
 idx=output/testIndexRna.blatidx
 rm -f $idx
 # build index and stop
-gfServer start -writeIndex -indexFile=$idx localhost 17768 -canStop input/creaGeno.2bit >/dev/null
+gfServer index $idx input/creaGeno.2bit >/dev/null
 
 # read index
 gfServer start -indexFile=$idx localhost 17768 -canStop input/creaGeno.2bit >/dev/null &
 sleep 1
 gfServer query localhost 17768 input/mCrea.mrna > $1
 gfServer stop localhost 17768 > /dev/null