doc: merge the engine and the cli readmes (#215)
Part of https://github.com/ooni/probe/issues/1335
This commit is contained in:
@@ -1,83 +0,0 @@
|
||||
# OONI probe measurement engine
|
||||
|
||||
[](https://godoc.org/github.com/ooni/probe-engine) [](https://github.com/ooni/probe-engine/actions?query=workflow%3Ashorttests) [](https://github.com/ooni/probe-engine/actions?query=workflow%3Aalltests) [](https://coveralls.io/github/ooni/probe-engine?branch=master) [](https://goreportcard.com/report/github.com/ooni/probe-engine)
|
||||
|
||||
This repository contains OONI probe's [measurement engine](
|
||||
https://github.com/ooni/spec/tree/master/probe#engine). That is, the
|
||||
piece of software that implements OONI nettests as well as all the
|
||||
required functionality to run such nettests.
|
||||
|
||||
We expect you to use the Go version indicated in [go.mod](go.mod).
|
||||
|
||||
## Integrating ooni/probe-engine
|
||||
|
||||
We recommend pinning to a specific version of probe-engine:
|
||||
|
||||
```bash
|
||||
go get -v github.com/ooni/probe-engine@VERSION
|
||||
```
|
||||
|
||||
See also the [workflows/using.yml](.github/workflows/using.yml) test
|
||||
where we check that the latest commit can be imported by a third party.
|
||||
|
||||
We do not provide any API stability guarantee.
|
||||
|
||||
## Building miniooni
|
||||
|
||||
[miniooni](cmd/miniooni) is a small command line client used for
|
||||
research and quality assurance testing. Build using:
|
||||
|
||||
```bash
|
||||
go build -v ./cmd/miniooni/
|
||||
```
|
||||
|
||||
See also `./build-cli.bash` for more advanced builds (e.g. to create
|
||||
statically linked and/or stripped binaries).
|
||||
|
||||
We don't provide any `miniooni` command line flags stability guarantee.
|
||||
|
||||
See
|
||||
|
||||
```bash
|
||||
./miniooni --help
|
||||
```
|
||||
|
||||
for more help.
|
||||
|
||||
## Building Android bindings
|
||||
|
||||
```bash
|
||||
./build-android.bash
|
||||
```
|
||||
|
||||
We automatically build Android bindings whenever commits are pushed to the
|
||||
`mobile-staging` branch. Such builds could be integrated by using:
|
||||
|
||||
```Groovy
|
||||
implementation "org.ooni:oonimkall:VERSION"
|
||||
```
|
||||
|
||||
Where VERSION is like `2020.03.30-231914` corresponding to the
|
||||
time when the build occurred.
|
||||
|
||||
## Building iOS bindings
|
||||
|
||||
```bash
|
||||
./build-ios.bash
|
||||
```
|
||||
|
||||
We automatically build iOS bindings whenever commits are pushed to the
|
||||
`mobile-staging` branch. Such builds could be integrated by using:
|
||||
|
||||
```ruby
|
||||
pod 'oonimkall', :podspec => 'https://dl.bintray.com/ooni/ios/oonimkall-VERSION.podspec'
|
||||
```
|
||||
|
||||
Where VERSION is like `2020.03.30-231914` corresponding to the
|
||||
time when the build occurred.
|
||||
|
||||
## Updating dependencies
|
||||
|
||||
```
|
||||
go get -u -v ./... && go mod tidy
|
||||
```
|
||||
Reference in New Issue
Block a user