Skip to content

Commit

Permalink
upgrade phel:0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Mar 16, 2024
1 parent 19d7324 commit d176558
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can either use it from your local machine OR using docker.

#### Locally (no Docker)

1. Ensure you have PHP >=8.0 (Some help about how to install multiple PHP versions locally on [linux](https://github.com/phpbrew/phpbrew) and [Mac](https://github.com/shivammathur/homebrew-php))
1. Ensure you have PHP >=8.2 (Some help about how to install multiple PHP versions locally on [linux](https://github.com/phpbrew/phpbrew) and [Mac](https://github.com/shivammathur/homebrew-php))
1. Ensure you have [composer](https://getcomposer.org/composer-stable.phar)
1. Clone this repo
1. Install the dependencies | `composer install`
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"homepage": "https://phel-lang.org/",
"license": "MIT",
"require": {
"php": ">=8.0",
"phel-lang/phel-lang": "dev-main"
"php": ">=8.2",
"phel-lang/phel-lang": "^0.12"
},
"require-dev": {
"symfony/var-dumper": "^5.4 || ^6.2"
"symfony/var-dumper": "^6.4"
},
"autoload": {
"psr-4": {
Expand Down
20 changes: 8 additions & 12 deletions phel-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@
return (new PhelConfig())
->setSrcDirs(['src'])
->setTestDirs(['tests'])
->setOut(
(new PhelOutConfig())
->setDestDir('out')
->setMainPhelNamespace('cli-skeleton\main')
->setMainPhpFilename('index')
)
->setOut((new PhelOutConfig())
->setDestDir('out')
->setMainPhelNamespace('cli-skeleton\main')
->setMainPhpFilename('index'))
->setFormatDirs(['src', 'tests'])
->setExport(
(new PhelExportConfig())
->setDirectories(['src/modules'])
->setNamespacePrefix('PhelGenerated')
->setTargetDirectory('src/PhelGenerated')
)
->setExport((new PhelExportConfig())
->setDirectories(['src/modules'])
->setNamespacePrefix('PhelGenerated')
->setTargetDirectory('src/PhelGenerated'))
->setIgnoreWhenBuilding(['local.phel'])
->setKeepGeneratedTempFiles(false);

0 comments on commit d176558

Please sign in to comment.