Skip to content
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

allow user to specify files and directories to pack in release #15

Open
tylerflint opened this issue Jan 31, 2017 · 1 comment
Open

Comments

@tylerflint
Copy link
Contributor

Currently, the go engine assumes the project will compile to a single binary executable. As web frameworks emerge and assets, templates, and other build objects start to be more common, this will need to be expanded to allow the user to specify specific files and directories to include in the packed release.

@glinton
Copy link
Contributor

glinton commented Feb 17, 2017

Until there is a better way, users can manually copy files into the packed release (build) in the deploy.config extra_steps bit of the boxfile

run.config:
 engine: golang
 engine.config:
   fetch: go get ./...
deploy.config:
 extra_steps:
   - cp -r $CODE_DIR/assets $APP_DIR/assets

Note: not to be confused with run.config's extra_steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants