Skip to content

Real traits jim#4

Merged
wagoodman merged 6 commits intoadding-rustfrom
real-traits-jim
Dec 28, 2017
Merged

Real traits jim#4
wagoodman merged 6 commits intoadding-rustfrom
real-traits-jim

Conversation

@willmurphyscode
Copy link
Collaborator

Remove traits from top level scope and define them in the appropriate module. Leave placeholder for executor implementation, and move actual implementations of builder into a struct behind the appropriate trait.

@wagoodman wagoodman merged commit a581508 into adding-rust Dec 28, 2017
@wagoodman wagoodman deleted the real-traits-jim branch December 28, 2017 01:28
wagoodman pushed a commit that referenced this pull request May 12, 2018
* learned a touch of rust

* no decorator

* base rust entrypoint

* with bare docker builder and executor (#3)

* Real traits jim (#4)

* add placeholder functions for actual interface
* move builder trait into builder module
* move docker builder struct into correct module
* move existing functions onto trait implementation
* move executor trait to appropriate module
* move executor struct into correct module

* initial builder working

* added docker run support; cleaned up command execs

* refactor to str refs; added readme

* We need strings here, I think

The result of the format! call is a string, (as is the result
of other ways of getting a u64 into a string).

This change makes the method compile without changing anything's
type signature. There might be other was to accomplish this,
but I haven't found one.

* added web example

* use executable's path as Docker context

* wrapped docker cmds in sh

* write dockerfile to docker context explicitly

* fix copy paste error in README
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

Successfully merging this pull request may close these issues.

2 participants