Mercurial > pub > site.implab
comparison deploy.pl @ 7:fa7a99c2d079
dox library templates and schemas
author | sergey |
---|---|
date | Wed, 14 May 2014 01:22:21 +0400 |
parents | aac1085b256d |
children | 7d92a42f8e18 |
comparison
equal
deleted
inserted
replaced
6:2d1a0a75fc49 | 7:fa7a99c2d079 |
---|---|
1 #!/usr/bin/perl -w | 1 #!/usr/bin/perl -w |
2 use strict; | 2 use strict; |
3 use lib '.'; | |
4 use config; | |
5 use config::bootstrap; | |
6 use IMPL::require { | |
7 DoxModel => 'Benzin::Doxygen::Model' | |
8 }; | |
3 | 9 |
4 my @dirs = qw( | 10 mkdir 'doxygen-data' unless -e 'doxygen-data'; |
5 doxygen-data | |
6 mysql-data | |
7 ); | |
8 | 11 |
9 mkdir $_ foreach grep not(-e $_), @dirs; | 12 unless (-e 'mysql-data') { |
13 mkdir 'mysql-data'; | |
14 `mysql_install_db --datadir=./mysql-data`; | |
15 } | |
10 | 16 |
11 `mysql_install_db --datadir=./mysql-data`; | 17 DoxModel->Deploy($config::doxConnection); |