Commit 31414725 authored by dje's avatar dje
Browse files

debug script install --new-edition

parent a6950edc
Loading
Loading
Loading
Loading
+1 −1
Changes for tools/edition_manager.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ function new_edition(editionId) {
    */


    rl.question('Chemin de la collection XML?', function (answer) {
    rl.question('Chemin de la collection XML (dans BaseX)?', function (answer) {
        var db = answer;
        rl.question('Vocabulaire XML du projet (tei, ead, ...)?', function (answer) {
            var type = answer;
+6 −1
Changes for tools/max.sh: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -69,7 +69,12 @@ demo_edition_build(){
}

new_edition_build(){
    node edition_manager.js -new $1
  if [ ! -d $DIRECTORY/../editions ]
  then
    echo 'Création répertoire "editions"'
    mkdir $DIRECTORY/../editions
  fi
  node $DIRECTORY/edition_manager.js -new $1
  format_configuration_file
}