Skip to content

Commit

Permalink
Export function
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Dec 5, 2018
1 parent 127d92a commit 561fd2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/cryptocurrency-advanced/backend/build.rs
@@ -1,9 +1,9 @@
extern crate exonum_build;

use exonum_build::protobuf_generate;
use exonum_build::{get_exonum_protobuf_files_path, protobuf_generate};

fn main() {
let exonum_protos = exonum_build::get_exonum_protobuf_files_path();
let exonum_protos = get_exonum_protobuf_files_path();
protobuf_generate(
"src/proto",
&["src/proto", &exonum_protos],
Expand Down
4 changes: 2 additions & 2 deletions testkit/build.rs
@@ -1,11 +1,11 @@
extern crate exonum_build;

use exonum_build::protobuf_generate;
use exonum_build::{get_exonum_protobuf_files_path, protobuf_generate};

fn main() {
protobuf_generate("src/proto", &["src/proto"], "testkit_protobuf_mod.rs");

let exonum_protos = exonum_build::get_exonum_protobuf_files_path();
let exonum_protos = get_exonum_protobuf_files_path();
protobuf_generate(
"tests/inflating_currency/proto",
&["tests/inflating_currency/proto", &exonum_protos],
Expand Down

0 comments on commit 561fd2c

Please sign in to comment.