syntax-prosody-ot / main

A webapp for the syntax-prosody analyst working in Optimality Theory, with automated Gen, Con and Eval. Download build files from syntax-prosody-ot/build
https://spot.sites.ucsc.edu/
GNU General Public License v2.0
12 stars 2 forks source link

Refactor testbuild.sh / bat #556

Closed jbellik closed 3 years ago

jbellik commented 3 years ago

Refactor the testbuild scripts (testbuild.sh and testbuild.bat) so that they don't duplicate the code and functionality of jsbuild.sh, since that is a recipe for problems keeping the two pairs of build scripts in sync (as we just experienced with the change to accommodate the restructuring of interface1.js into several files in a subdirectory).

Instead, testbuild.sh should:

  1. Run jsbuild.sh
  2. Compile all test code into test.js in the build folder
  3. Append test.js to the spot.js file created by jsbuild.sh