1 /**
2  * This file is part of DCD, a development tool for the D programming language.
3  * Copyright (C) 2014 Brian Schott
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 module dcd.common.dcd_version;
20 
21 /**
22  * Human-readable version number
23  */
24 enum DCD_VERSION = "v0.9.0";
25 
26 version (Windows) {}
27 else version (built_with_dub) {}
28 else
29 {
30 	/**
31 	 * Current build's Git commit hash
32 	 */
33 	enum GIT_HASH = import("githash.txt");
34 }