pandeiro / boot-http

A simple HTTP serve task for the Boot build tool
62 stars 34 forks source link

Use mkdirs instead of mkdir for nested directories. #18

Closed mahinshaw closed 9 years ago

mahinshaw commented 9 years ago

By the way, thanks for this project. It's great.

With a recent project I wanted to (serve :dir "target/public/"). When I did, the task failed because the directory did not exist. So I dug in and noticed the call to .mkdir, which doesn't handle the parent directory creation, whereas mkdirs does.

rabidpraxis commented 9 years ago

:thumbsup:

pandeiro commented 9 years ago

Thanks @mahinshaw, sounds good to me. I'll cut another version of 0.6.3-SNAPSHOT with this change in it shortly.