39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/*
|
|
* Copyright (C) 2022 luca0N!
|
|
*
|
|
* This file is part of Static Website Generator (swg).
|
|
*
|
|
* Static Website Generator (swg) is free software: you can redistribute it
|
|
* and/or modify it under the terms of the version 3 of the GNU Lesser General
|
|
* Public License as published by the Free Software Foundation.
|
|
*
|
|
* Static Website Generator (swg) is distributed in the hope that it will be
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Static Website Generator (swg). If not, see
|
|
* <https://www.gnu.org/licenses/>.
|
|
*
|
|
* Contact luca0N! by e-mail: <luca0n [at] luca0n [dot] com>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define PROGRAM_NAME "SWG"
|
|
#define PROGRAM_VERSION 1
|
|
#define PROGRAM_VERSION_NAME "0.1-dev"
|
|
#define PROGRAM_COPYRIGHT "luca0N!"
|
|
#define PROGRAM_COPYRIGHT_YEARS "2022"
|
|
|
|
#define RETURN_SUCCESSFUL 0
|
|
|
|
#define RETURN_FAILED_INVALID_SYNTAX 1
|
|
#define RETURN_FAILED_CONFIG_INVALID_SYNTAX 2
|
|
#define RETURN_FAILED_INVALID_DIRECTORY 3
|
|
#define RETURN_FAILED_WEBSITE_BUILD_EXISTS 4
|
|
|
|
#define RETURN_FAILED_UNKNOWN_ERROR 10
|
|
|