Changeset 3078


Ignore:
Timestamp:
Jan 28, 2013, 11:53:15 AM (7 years ago)
Author:
nosdeputes
Message:

adapt loader amdmts specifique pr un texte a new legislature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/bin/load_amdmts_loi

    r2843 r3078  
    88# Récupération et création des JSON
    99
    10 echo Amendements
    11 echo =======================
    12 cd batch/amendements ; bash compute_latest_loi.sh $loi ; cd -
     10#echo Amendements
     11#echo =======================
     12cd batch/amendements ; bash compute_latest_loi.sh $LEGISLATURE $loi ; cd -
    1313
    1414# Chargement via tasks
    1515
    16 echo Load Amendements
    17 echo =======================
     16#echo Load Amendements
     17#echo =======================
    1818while ls batch/amendements/json | grep [a-z] > /dev/null ; do
    1919        php symfony cc --env=test  --app=frontend > /dev/null
     
    2323# Postprocessings
    2424
    25 echo clean cache
    26 rm -r cache/frontend/prod/template/*/all/amendement/parlementaireSection/id/$loi
    27 rm -r cache/frontend/prod/template/*/all/amendement/parlementaire/slug/*
    28 rm -r cache/frontend/prod/template/*/all/amendement/find/loi/${loi}/numero/*
    29 rm cache/frontend/prod/template/*/all/amendement/show/loi/${loi}/numero/*
     25#echo clean cache
     26#rm -r cache/frontend/prod/template/*/all/amendement/parlementaireSection/id/$loi
     27#rm -r cache/frontend/prod/template/*/all/amendement/parlementaire/slug/*
     28#rm -r cache/frontend/prod/template/*/all/amendement/find/loi/${loi}/numero/*
     29#rm cache/frontend/prod/template/*/all/amendement/show/loi/${loi}/numero/*
    3030
Note: See TracChangeset for help on using the changeset viewer.