Skip to content

Commit

Permalink
fix(docker): README info + fix author email
Browse files Browse the repository at this point in the history
Please note that docker build script is still in debug mode, this
issue will remind me about it: #72

Fixes #71
  • Loading branch information
Byron committed Apr 20, 2015
1 parent 5165ff6 commit e730281
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .docker-build-cli.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh
# For execution on docker build image only !
# make cargo-cli ARGS="build --release"
# DEBUG: only try to build a small CLI for now
make discovery1-cli-cargo ARGS="build --release"
find gen -executable -type f -path "*/release/*" -not \( -name "*.*" -or -name "*script*" \) | xargs cp -v /build-result
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,24 @@ For example, to update all json files and possibly retrieve new API schemas, do
rm -f .api.deps .cli.deps && make update-json -j8
```
## Cross Platform Compilation
This is still a difficult topic in Rust, and even though in theory it's possible to do that on a single system without virutalization, it's difficult to achieve when you are not a pure Rust program. Therefore using VMs is the only option, and we are trying to make this as easy as possible.
### Linux AMD-64 from OSX
This setup is based on Docker, which comes with a *virtual-box*-based linux VM. To use it, just install [boot2docker](http://boot2docker.io/).
The following commands should do the job:
```bash
boot2docker up
# export listed variables to prepare your shell
make wheezy-build
```
You will find your *release* build in the *build/* subdirectory of the project's root.
# License
The license of everything not explicitly under a different license are licensed as specified in `LICENSE.md`.
Expand Down
2 changes: 1 addition & 1 deletion etc/api/shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cargo:
doc_base_url: http://byron.github.io/google-apis-rs
authors:
# don't forget to possibly add them to copyright authors
- Sebastian Thiel <byronimo@gmail>
- Sebastian Thiel <byronimo@gmail.com>
keywords: [google]
# All APIs should live in the same repository
repository_url: https://github.com/Byron/google-apis-rs
Expand Down

0 comments on commit e730281

Please sign in to comment.