AugustMiller / rick

Command Line Tools for Kirby CMS
0 stars 1 forks source link

Add server command #12

Closed jackjennings closed 9 years ago

jackjennings commented 9 years ago

Just starting to figure out how this Console component works...

jackjennings commented 9 years ago

I've implemented the alias to php -S, including port selection with the --port flag. This is based on the Symfony implementation, but it's waaaaay stripped down in order to start at a basic level that can be built in a maintainable/testable way.

That being said, the Rick\Server\Builtin class is untested because I'm not sure yet how to test this properly given that it will execute a long-running process.

jackjennings commented 9 years ago

Rebased the commits and fleshed out the tests. Should be ready for review and merge.

jackjennings commented 9 years ago

Oops, failing on HHVM. I'll see if I can diagnose, otherwise I'll just remove it from the covered versions.

jackjennings commented 9 years ago

Removed HHVM for now. I'm not sure if it even has a built-in server, but we can investigate again if that's a platform that might want to be supported in the future.

AugustMiller commented 9 years ago

Are you squashing these commits down into a single one? It looks like your one commit was pulled down below your message that identified the problem!

jackjennings commented 9 years ago

Yeah, I squashed the changes into the commit above.

jackjennings commented 9 years ago

Guess I could have left removing hhvm in a separate commit.

jackjennings commented 9 years ago

:point_up: