annotate deploy.pl @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents aac1085b256d
children 7d92a42f8e18
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 config::bootstrap;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
6 use IMPL::require {
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
7 DoxModel => 'Benzin::Doxygen::Model'
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
8 };
0
aac1085b256d initial commit
cin
parents:
diff changeset
9
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
10 mkdir 'doxygen-data' unless -e 'doxygen-data';
0
aac1085b256d initial commit
cin
parents:
diff changeset
11
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
12 unless (-e 'mysql-data') {
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
13 mkdir 'mysql-data';
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
14 `mysql_install_db --datadir=./mysql-data`;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
15 }
0
aac1085b256d initial commit
cin
parents:
diff changeset
16
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 0
diff changeset
17 DoxModel->Deploy($config::doxConnection);