Skip to content

Commit

Permalink
update authoring-libraries.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Apr 19, 2024
1 parent 6ee8006 commit 6ad5b11
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions content/documentation/authoring-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,9 @@ use Phel\Config\PhelOutConfig;
return (new PhelConfig())
->setSrcDirs(['src'])
->setTestDirs(['tests'])
->setOut(
(new PhelOutConfig())
->setDestDir('out')
->setMainPhelNamespace('app\boot')
->setMainPhpFilename('index')
)
->setOut((new PhelOutConfig())
->setMainPhelNamespace('your-ns\main')
->setMainPhpPath('out/main.php'))
->setFormatDirs(['src', 'tests'])
->setIgnoreWhenBuilding(['local.phel'])
->setKeepGeneratedTempFiles(false);
Expand Down

0 comments on commit 6ad5b11

Please sign in to comment.