benfalk / crystal_forge

API Blueprint & RAML Stub Server
MIT License
6 stars 0 forks source link

Serve Static Files #13

Closed benfalk closed 9 years ago

benfalk commented 9 years ago

Need to be able to serve static assets

potentially with a static dir flag?

crystalforge server --static=/var/www/example example.apib
benfalk commented 9 years ago

Added with this commit: https://github.com/benfalk/crystal_forge/commit/5cf6ad0d2c5dc1eb2def07f8726cd361863963d7 Now in supports the following formats:

crystalforge server --static=/var/www/example example.apib

OR

crystalforge server -s /var/www/example example.apib