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
exclude option for rice #37
Comments
Can you elaborate a bit on this request? |
In polymer you use the vulcanize tool to import all html, js, css files into a build.html to reduce request to the server. So for example in this static directorie https://github.com/HouzuoGuo/tiedot/tree/webjwt/webcp/static I only need bower_components, js, css and the html directorie during development when not vulcanized into a build.html. If I can exclude them it would be much easier to build a final executable that only includes the build.html and img directory if needed. |
After the exclude feature, a second request would be for rice to be able to rename files in its *.rice-box.go For example rename build.html to index.html. My final build script would then look like this vulcanize -o static/build.html static/index.html
rice embed-go webcp.go -exclude=static/html -exclude=static/js -exclude=static/css -exclude=static/index.html -exclude=static/bower_components
rice mv-go static.rice-box.go build.html index.html
go build |
I would love to have that options too. Or include those files manually. To prevent minified html file in addition to the non-minified html file. |
I'm thinking about changing how rice embeds/appends boxes to a binary. Please read and comment on #47 |
Also maybe a flag to exclude |
Can you add a exclude option please so I can specify which files or directories should not be in the *.rice-box.go
The text was updated successfully, but these errors were encountered: