Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement command line option to set file extension for compiled files #159

Merged
merged 2 commits into from
Feb 19, 2023

Conversation

thekid
Copy link
Member

@thekid thekid commented Feb 19, 2023

Default:

$ xp compile HelloWorld.php dist/
# ...

$ ls -al dist/HelloWorld*
-rwxr-xr-x 1 timmf timmf 519 Feb 19 13:12 dist/HelloWorld.class.php

Using .php file extension:

$ xp compile -e .php HelloWorld.php dist/
# ...

$ ls -al dist/HelloWorld*
-rwxr-xr-x 1 timmf timmf 519 Feb 19 13:13 dist/HelloWorld.php

See #158 (comment)

@thekid thekid mentioned this pull request Feb 19, 2023
@thekid thekid merged commit 968f64d into master Feb 19, 2023
@thekid thekid deleted the feature/file-extension branch February 19, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant