view deploy.pl @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents aac1085b256d
children 7d92a42f8e18
line wrap: on
line source

#!/usr/bin/perl -w
use strict;
use lib '.';
use config;
use config::bootstrap;
use IMPL::require {
    DoxModel => 'Benzin::Doxygen::Model'
};

mkdir 'doxygen-data' unless -e 'doxygen-data';

unless (-e 'mysql-data') {
	mkdir 'mysql-data';
	`mysql_install_db --datadir=./mysql-data`;
}

DoxModel->Deploy($config::doxConnection);