Move the config and pages .yaml files to /Config

This commit is contained in:
Belle Aerni 2023-01-09 22:55:02 -08:00
parent 51211d87ec
commit 3405291db1
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- run: |
cp ./tests/Includes/config.yaml ./src/config.yaml
cp ./tests/Includes/config.yaml ./src/Config/config.yaml
- uses: php-actions/phpunit@v3
with:
bootstrap: src/Vendor/autoload.php

0
src/Config/.gitkeep Normal file
View File

View File

@ -1,8 +1,8 @@
<?php
const AntDir = __DIR__;
const AntCachePath = __DIR__ . DIRECTORY_SEPARATOR . 'Cache';
const antConfigFile = __DIR__ . DIRECTORY_SEPARATOR . 'config.yaml';
const antPagesList = __DIR__ . DIRECTORY_SEPARATOR . 'pages.yaml';
const antConfigFile = __DIR__ . DIRECTORY_SEPARATOR . 'Config' . DIRECTORY_SEPARATOR . 'config.yaml';
const antPagesList = __DIR__ . DIRECTORY_SEPARATOR . 'Config' . DIRECTORY_SEPARATOR . 'pages.yaml';
const antContentPath = __DIR__ . DIRECTORY_SEPARATOR . 'Content';
const antThemePath = __DIR__ . DIRECTORY_SEPARATOR . 'Themes';
const antPluginPath = __DIR__ . DIRECTORY_SEPARATOR . 'Plugins';