Changeset 34408


Ignore:
Timestamp:
2020-09-17T17:45:26+12:00 (4 years ago)
Author:
davidb
Message:

Fine tuning of build script for WaveSurfer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mars-src/trunk/src/CASCADE-MAKE/WAVESURFER.sh

    r34378 r34408  
    2222    echo "[pushd $package$version]"
    2323    ( cd $package$version ; \
    24       echo "Running the *configure* stage with NodeJS source code equates to running 'npm install' to downloading required packages" ; \
    25       echo "npm install" ; \
    26       npm install )
     24      echo "Copying in customized plugins: spectrogram.js and hpcp.js" ; \
     25      /bin/cp ../wavesurfer-plugins/*.js src/plugin/. ; )
     26#      echo "Running the *configure* stage with NodeJS source code equates to running 'npm install' to downloading required packages" ; \
     27#      echo "npm install" ; \
     28#      npm install )
    2729    if [ $? != 0 ] ; then
    2830        echo "      Error encountered running *configure* stage of $progname"
     
    5153# opt_run_make $install $package $version "install"
    5254if [ $install = "1" ] ; then
    53 #    echo "****"
    54 #    echo "* Generate files: $package$version/dist"
    55 #    echo "****"
    56 
    5755    if [ ! -d ../../../web/ext ] ; then
    5856    echo "  Making directory: ../../../web/ext"
     
    6563    fi
    6664
     65    if [ ! -d ../../../web/ext/audio/ws ] ; then
     66    echo "  Making directory: ../../../web/ext/audio/ws"
     67    mkdir ../../../web/ext/audio/ws
     68    fi
     69
    6770    echo "  Installing 'wavesurfer' into ../../../web/ext/audio"
    6871
    69     echo "Copying  $package$version/dist to ../../../web/ext/audio/ws"
    70     /bin/cp -r "$package$version/dist" "../../../web/ext/audio/ws"
     72    echo "Copying  $package$version/dist/* to ../../../web/ext/audio/ws/."
     73    /bin/cp -r "$package$version"/dist/* "../../../web/ext/audio/ws/."
    7174
    7275# Turns out the JSON used by the Spectrogram plugin for WaveSurferJS wants
Note: See TracChangeset for help on using the changeset viewer.