Skip to content

Commit

Permalink
remove custom play.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Aug 26, 2023
1 parent 1224dd0 commit 65cdfb1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ src/PhelGenerated/
vendor/
out/

data/error.log
src/local.phel
*.cache
.phel-repl-history
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require": {
"php": ">=8.0",
"ext-readline": "*",
"phel-lang/phel-lang": "^0.10",
"phel-lang/phel-lang": "^0.11",
"chemaclass/phel-cli-gui": "dev-main"
},
"require-dev": {
Expand All @@ -24,7 +24,7 @@
"@play"
],
"build": "vendor/bin/phel build --no-cache",
"play": "php play.php",
"play": "php out/play.php",
"test": "vendor/bin/phel test",
"format": "vendor/bin/phel format src tests"
},
Expand Down
6 changes: 5 additions & 1 deletion phel-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
declare(strict_types=1);

use Phel\Config\PhelConfig;
use Phel\Config\PhelOutConfig;

return (new PhelConfig())
->setSrcDirs(['src'])
->setTestDirs(['tests'])
->setVendorDir('vendor')
->setOutDir('out')
->setOut((new PhelOutConfig())
->setDestDir('out')
->setMainPhelNamespace('phel-snake\main')
->setMainPhpFilename('play'))
->setIgnoreWhenBuilding(['local.phel'])
->setKeepGeneratedTempFiles(false);
13 changes: 0 additions & 13 deletions play.php

This file was deleted.

0 comments on commit 65cdfb1

Please sign in to comment.