Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ yarn-error.log*
.DS_Store
Thumbs.db

/build/
/dist/

.phel-repl-history
.phpunit.result.cache
static/api_search.js
Expand Down
2 changes: 1 addition & 1 deletion build/api-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Gacela\Framework\Gacela;
use Phel\Phel;
use PhelDocBuild\FileGenerator\Facade as FileGeneratorFacade;
use PhelWeb\FileGenerator\Facade as FileGeneratorFacade;

Gacela::bootstrap(__DIR__, Phel::configFn());

Expand Down
2 changes: 1 addition & 1 deletion build/api-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Gacela\Framework\Gacela;
use Phel\Phel;
use PhelDocBuild\FileGenerator\Facade as FileGeneratorFacade;
use PhelWeb\FileGenerator\Facade as FileGeneratorFacade;

Gacela::bootstrap(__DIR__, Phel::configFn());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator\Application;
namespace PhelWeb\FileGenerator\Application;

use Phel\Api\Transfer\PhelFunction;
use Phel\Shared\Facade\ApiFacadeInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator\Application;
namespace PhelWeb\FileGenerator\Application;

use Phel\Shared\Facade\ApiFacadeInterface;

Expand Down
2 changes: 1 addition & 1 deletion build/src/php/FileGenerator/DependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator;
namespace PhelWeb\FileGenerator;

use Gacela\Framework\AbstractProvider;
use Gacela\Framework\Container\Container;
Expand Down
2 changes: 1 addition & 1 deletion build/src/php/FileGenerator/Facade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator;
namespace PhelWeb\FileGenerator;

use Gacela\Framework\AbstractFacade;

Expand Down
10 changes: 5 additions & 5 deletions build/src/php/FileGenerator/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator;
namespace PhelWeb\FileGenerator;

use Gacela\Framework\AbstractFactory;
use Gacela\Framework\Config\Config;
use Phel\Shared\Facade\ApiFacadeInterface;
use PhelDocBuild\FileGenerator\Application\ApiMarkdownGenerator;
use PhelDocBuild\FileGenerator\Application\ApiSearchGenerator;
use PhelDocBuild\FileGenerator\Infrastructure\ApiMarkdownFile;
use PhelDocBuild\FileGenerator\Infrastructure\ApiSearchFile;
use PhelWeb\FileGenerator\Application\ApiMarkdownGenerator;
use PhelWeb\FileGenerator\Application\ApiSearchGenerator;
use PhelWeb\FileGenerator\Infrastructure\ApiMarkdownFile;
use PhelWeb\FileGenerator\Infrastructure\ApiSearchFile;

/**
* @method Config getConfig()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator\Infrastructure;
namespace PhelWeb\FileGenerator\Infrastructure;

use PhelDocBuild\FileGenerator\Application\ApiMarkdownGenerator;
use PhelWeb\FileGenerator\Application\ApiMarkdownGenerator;

final readonly class ApiMarkdownFile
{
Expand Down
4 changes: 2 additions & 2 deletions build/src/php/FileGenerator/Infrastructure/ApiSearchFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace PhelDocBuild\FileGenerator\Infrastructure;
namespace PhelWeb\FileGenerator\Infrastructure;

use PhelDocBuild\FileGenerator\Application\ApiSearchGenerator;
use PhelWeb\FileGenerator\Application\ApiSearchGenerator;

use function json_encode;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace PhelDocBuildTests\FileGenerator\Domain;
namespace PhelWebTests\FileGenerator\Domain;

use Phel\Api\Transfer\PhelFunction;
use Phel\Shared\Facade\ApiFacadeInterface;
use PhelDocBuild\FileGenerator\Application\ApiMarkdownGenerator;
use PhelWeb\FileGenerator\Application\ApiMarkdownGenerator;
use PHPUnit\Framework\TestCase;

final class ApiMarkdownGeneratorTest extends TestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace PhelDocBuildTests\FileGenerator\Domain;
namespace PhelWebTests\FileGenerator\Domain;

use Phel\Api\Transfer\PhelFunction;
use Phel\Shared\Facade\ApiFacadeInterface;
use PhelDocBuild\FileGenerator\Application\ApiSearchGenerator;
use PhelWeb\FileGenerator\Application\ApiSearchGenerator;
use PHPUnit\Framework\TestCase;

final class ApiSearchGeneratorTest extends TestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

declare(strict_types=1);

namespace PhelDocBuildTests\Integration;
namespace PhelWebTests\FileGenerator\Integration;

use Gacela\Framework\Bootstrap\GacelaConfig;
use Gacela\Framework\Gacela;
use Phel\Api\ApiFacade;
use PhelDocBuild\FileGenerator\Application\ApiMarkdownGenerator;
use PhelWeb\FileGenerator\Application\ApiMarkdownGenerator;
use PHPUnit\Framework\TestCase;

final class ApiMarkdownGeneratorTest extends TestCase
Expand All @@ -17,7 +17,7 @@ final class ApiMarkdownGeneratorTest extends TestCase
*/
public function test_generate_api_markdown_file(): void
{
Gacela::bootstrap(__DIR__ . '/../../..', static function (GacelaConfig $config): void {
Gacela::bootstrap(__DIR__ . '/../../../..', static function (GacelaConfig $config): void {
$config->addAppConfig('phel-config.php', 'phel-config-local.php');
});

Expand All @@ -27,4 +27,4 @@ public function test_generate_api_markdown_file(): void

$this->addToAssertionCount(1);
}
}
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
},
"autoload": {
"psr-4": {
"PhelDocBuild\\": "build/src/php/"
"PhelWeb\\": "build/src/php/"
}
},
"autoload-dev": {
"psr-4": {
"PhelDocBuildTests\\": "build/tests/php"
"PhelWebTests\\": "build/tests/php"
}
},
"minimum-stability": "dev",
Expand Down
Loading