Changeset 37102


Ignore:
Timestamp:
2023-01-05T12:07:03+13:00 (3 weeks ago)
Author:
davidb
Message:

Added in patching PATCHED-es-SimpleAnnotationServerV2Adapter.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/structured-image/trunk/src/NPM-INSTALL-MIRADOR.sh

    r37043 r37102  
    1111    && npm install && cd ..
    1212
     13
    1314if [ $? = 0 ] ; then
    1415    echo ""
    15     echo "Now run: "
    16     echo "    ./NPM-WEBPACK-MIRADOR.sh"
    17     echo ""
     16    echo "****"
     17    echo "* Patching mirador-annotations/es/SimpleAnnotationServerV2Adapter.js"
     18    echo "****"
     19   
     20    cd mirador-integration-annotations-gitfork \
     21    && echo "--------" \
     22    && diff PATCHED-es-SimpleAnnotationServerV2Adapter.js node_modules/mirador-annotations/es/SimpleAnnotationServerV2Adapter.js \
     23    && /bin/cp PATCHED-es-SimpleAnnotationServerV2Adapter.js node_modules/mirador-annotations/es/SimpleAnnotationServerV2Adapter.js \
     24    && echo "--------" \
     25    && cd .. \
     26    && echo ""
     27
     28    if [ $? = 0 ] ; then
     29    echo ""
     30    echo "Now run: "
     31    echo "    ./NPM-WEBPACK-MIRADOR.sh"
     32    echo ""
     33    else
     34    echo "Failed to successfully run patch for:" 1>&2
     35    echo "    node_modules/mirador-annotations/es/SimpleAnnotationServerV2Adapter.js" 1>&2
     36    fi
     37else
     38    echo "Encountered an error, and so did not run patch for:" 1>&2
     39    echo "    node_modules/mirador-annotations/es/SimpleAnnotationServerV2Adapter.js" 1>&2
    1840fi
    1941
    2042
     43
Note: See TracChangeset for help on using the changeset viewer.