Skip to content

Commit 7efb4f9

Browse files
committed
upgrade phel 0.14
1 parent eda50e9 commit 7efb4f9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"license": "MIT",
1111
"require": {
1212
"php": ">=8.2",
13-
"phel-lang/phel-lang": "^0.13",
14-
"phel-lang/router": "^0.3"
13+
"phel-lang/phel-lang": "^0.14",
14+
"phel-lang/router": "^0.4"
1515
},
1616
"require-dev": {
1717
"symfony/var-dumper": "^6.4"

phel-config.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44

55
use Phel\Config\PhelConfig;
66
use Phel\Config\PhelExportConfig;
7-
use Phel\Config\PhelOutConfig;
7+
use Phel\Config\PhelBuildConfig;
88

99
return (new PhelConfig())
1010
->setSrcDirs(['src'])
1111
->setTestDirs(['tests'])
1212
->setVendorDir('vendor')
13-
->setOut((new PhelOutConfig())
13+
->setKeepGeneratedTempFiles(false)
14+
->setFormatDirs(['src', 'tests'])
15+
->setBuildConfig((new PhelBuildConfig())
1416
->setMainPhelNamespace('web-skeleton\app')
1517
->setMainPhpPath('out/index.php'))
16-
->setExport((new PhelExportConfig())
17-
->setDirectories(['src/phel'])
18+
->setExportConfig((new PhelExportConfig())
19+
->setFromDirectories(['src/phel'])
1820
->setNamespacePrefix('PhelGenerated')
1921
->setTargetDirectory('src/PhelGenerated'))
2022
->setIgnoreWhenBuilding(['local.phel'])
21-
->setNoCacheWhenBuilding(['web_skeleton'])
22-
->setKeepGeneratedTempFiles(false)
23-
->setFormatDirs(['src', 'tests'])
23+
->setNoCacheWhenBuilding(['web_skeleton/app'])
2424
;

0 commit comments

Comments
 (0)