Mercurial > pub > site.implab
annotate deploy.pl @ 14:d997ff96acf1
sync
author | sergey |
---|---|
date | Mon, 19 May 2014 18:34:16 +0400 |
parents | 7d92a42f8e18 |
children |
rev | line source |
---|---|
0 | 1 #!/usr/bin/perl -w |
2 use strict; | |
7 | 3 use lib '.'; |
4 use config; | |
5 use IMPL::require { | |
6 DoxModel => 'Benzin::Doxygen::Model' | |
7 }; | |
0 | 8 |
7 | 9 mkdir 'doxygen-data' unless -e 'doxygen-data'; |
0 | 10 |
7 | 11 unless (-e 'mysql-data') { |
12 mkdir 'mysql-data'; | |
13 `mysql_install_db --datadir=./mysql-data`; | |
14 } | |
0 | 15 |
7 | 16 DoxModel->Deploy($config::doxConnection); |