annotate deploy.pl @ 12:d9551c7e7101

improved dox library
author sergey
date Fri, 16 May 2014 16:47:50 +0400
parents 7d92a42f8e18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
aac1085b256d initial commit
cin
parents:
diff changeset
1 #!/usr/bin/perl -w
aac1085b256d initial commit
cin
parents:
diff changeset
2 use strict;
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
3 use lib '.';
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
4 use config;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
5 use IMPL::require {
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
6 DoxModel => 'Benzin::Doxygen::Model'
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
7 };
0
aac1085b256d initial commit
cin
parents:
diff changeset
8
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
9 mkdir 'doxygen-data' unless -e 'doxygen-data';
0
aac1085b256d initial commit
cin
parents:
diff changeset
10
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
11 unless (-e 'mysql-data') {
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
12 mkdir 'mysql-data';
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
13 `mysql_install_db --datadir=./mysql-data`;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
14 }
0
aac1085b256d initial commit
cin
parents:
diff changeset
15
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
16 DoxModel->Deploy($config::doxConnection);