Skip to content

Commit

Permalink
Merge pull request #576 from phel-lang/feat/enable-gacela-cache
Browse files Browse the repository at this point in the history
Enable gacela cache by default
  • Loading branch information
Chemaclass committed Feb 23, 2023
2 parents 4c22e8c + 48faf43 commit 7071148
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -13,4 +13,5 @@ vendor/
.phel-repl-history
local.phel
phel-config-local.php
gacela*.php
src/php/Api/Infrastructure/phel/doc.phel
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
* Deprecate `*compile-mode*` in favor of `*build-mode*` (#570)
* Added `--testdox` argument to `phel test` command (#567)
* Added support for fluid configuration in `phel-config.php` (#494)
* Enable gacela cache filesystem by default (#576)

## 0.9.0 (2023-02-05)

Expand Down
2 changes: 2 additions & 0 deletions src/php/Phel.php
Expand Up @@ -43,6 +43,8 @@ public static function configFn(): callable
{
return static function (GacelaConfig $config): void {
$config->addAppConfig(self::PHEL_CONFIG_FILE_NAME, self::PHEL_CONFIG_LOCAL_FILE_NAME);
$config->setFileCacheEnabled(true);
$config->setFileCacheDirectory('data/.cache');
};
}

Expand Down

0 comments on commit 7071148

Please sign in to comment.