From abada52498e1d7e5856ff7e97127989c4b48989e Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Sat, 22 Jun 2024 07:52:38 +0200 Subject: [PATCH] upgrade phel 0.15 --- composer.json | 4 ++-- phel-config.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index dc062ca..df3f20e 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ "require": { "php": ">=8.2", "ext-readline": "*", - "phel-lang/phel-lang": "^0.13", - "chemaclass/phel-cli-gui": "^0.2" + "phel-lang/phel-lang": "^0.15", + "chemaclass/phel-cli-gui": "^0.3" }, "require-dev": { "roave/security-advisories": "dev-latest", diff --git a/phel-config.php b/phel-config.php index 1a3521c..097a7a0 100644 --- a/phel-config.php +++ b/phel-config.php @@ -2,14 +2,14 @@ declare(strict_types=1); +use Phel\Config\PhelBuildConfig; use Phel\Config\PhelConfig; -use Phel\Config\PhelOutConfig; return (new PhelConfig()) ->setSrcDirs(['src']) ->setTestDirs(['tests']) ->setVendorDir('vendor') - ->setOut((new PhelOutConfig()) + ->setBuildConfig((new PhelBuildConfig()) ->setMainPhelNamespace('phel-snake\main') ->setMainPhpPath('out/main.php')) ->setIgnoreWhenBuilding(['local.phel'])