Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
thekid merged 2 commits intomasterfrom
feature/file-extension
Feb 19, 2023
Merged

Implement command line option to set file extension for compiled files#159
thekid merged 2 commits intomasterfrom
feature/file-extension

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