Changeset 35142


Ignore:
Timestamp:
2021-05-02T21:49:53+12:00 (3 years ago)
Author:
davidb
Message:

Improvement to sgvizer2 install script; Splicing in of sgvizler2 download and install into CASCADE-MAKE.sh

Location:
gs2-extensions/apache-jena/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/CASCADE-MAKE.sh

    r34965 r35142  
    3232
    3333  if [ ! -d ../../../web/ext/jena ] ; then
    34     echo "Installing javascript code into web/ext/jena"
    35     /bin/cp -r web-ext-js ../../../web/ext/jena
     34    echo "Making directory ../../../web/ext/jena"
     35    mkidir ../../../web/ext/jena
    3636  fi
    3737
     38  echo "Installing web-ext-js/sgvizler into web/ext/jena"
     39  /bin/cp -r web-ext-js/sgvizler ../../../web/ext/jena/.
     40
     41  if [ ! -d web-ext2-js/npm-direct-install/node_modules ] ; then
     42      echo "Running web-ext2-js/DOWNLOAD.sh"
     43      cd web-ext2-js && ./DOWNLOAD.sh && cd ..
     44  fi
     45
     46  cd web-ext2-js && ./INSTALL.sh && cd ..
     47 
    3848  cat NOTES.txt
    3949fi
  • gs2-extensions/apache-jena/trunk/src/web-ext2-js/INSTALL.sh

    r34929 r35142  
    11#!/bin/bash
    22
     3echo ""
     4echo "Updating source code to use 'sankey' extended version of sgvizler2.js:"
     5
     6if [ ! -f npm-direct-install/node_modules/sgvizler2/build/browser/sgvizler2-orig.js ] ; then
     7    echo "  Making a backup copy of the original sgvizler2.js"
     8    /bin/cp npm-direct-install/node_modules/sgvizler2/build/browser/sgvizler2.js npm-direct-install/node_modules/sgvizler2/build/browser/sgvizler2-orig.js
     9fi
     10
     11echo "  /bin/cp sgvizler2-sankey.js npm-direct-install/node_modules/sgvizler2/build/browser/sgvizler2.js"
     12cp sgvizler2-sankey.js npm-direct-install/node_modules/sgvizler2/build/browser/sgvizler2.js
     13
     14echo ""
    315echo "Copying directory:"
    416echo "  npm-direct-install/node_modules/sgvizler2/build/browser"
Note: See TracChangeset for help on using the changeset viewer.