source: cpc/trunk/project/bin/dump_amendements_loi @ 3091

Last change on this file since 3091 was 3091, checked in by goya, 7 years ago

refacto api code to add task to generate dump of all amdmts for a bill

  • Property svn:executable set to *
File size: 277 bytes
Line 
1#!/bin/bash
2
3loi=$1
4
5. $(echo $0 | sed 's/[^\/]*$//')db.inc
6cd $PATH_APP
7
8mkdir -p web/$LEGISLATURE/amendements/$loi
9
10for format in xml json csv; do
11  php symfony dump:AmendementsLoi $loi $format > web/$LEGISLATURE/amendements/$loi/nosdeputesfr-amendements-$loi.$format;
12done
13
Note: See TracBrowser for help on using the repository browser.