- Notifications
You must be signed in to change notification settings - Fork3
A simple skeleton to build your cli-app using Phel.
License
NotificationsYou must be signed in to change notification settings
phel-lang/cli-skeleton
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Phel is a functional programming language that compiles to PHP.
This repository provides you the basic setup to start coding phel.
Phel requires at least PHP 8.3 and Composer.You can either use it from your local machine OR using docker.
- This repository contains the basic Dockerfile to run phel.
- Ensure you have PHP >=8.3 (Some help about how to install multiple PHP versions locally onlinux andMac)
- Ensure you havecomposer
- Clone this repo
- Install the dependencies |
composer install
- Clone this repo
- Build the image |
docker-compose up -d --build - Go inside the console |
docker exec -ti -u dev phel_cli_skeleton bash - Install the dependencies |
composer install
- Write your phel code in
src/ - Run your code with
vendor/bin/phel run src/main.phel
vendor/bin/phel buildphp out/main.php
- Write your phel tests in
tests/ - Execute your tests with
./vendor/bin/phel test
Find more information about how to start with phel ingetting started.
About
A simple skeleton to build your cli-app using Phel.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.