Add Rust implementation
This commit is contained in:
14
benchmark-new/benchmark_repository/examples/test.rs
Normal file
14
benchmark-new/benchmark_repository/examples/test.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
extern crate benchmark_repository;
|
||||
extern crate pretty_env_logger;
|
||||
|
||||
use benchmark_repository::BenchmarkRepository;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
fn main()
|
||||
{
|
||||
pretty_env_logger::init();
|
||||
|
||||
let benchmark_repository = BenchmarkRepository::new("git@git.luehne.de:patrick/tplp-planning-benchmark.git", Path::new("storage"), "git", "Potassco Bot", "bot@potassco.org");
|
||||
benchmark_repository.commit_file(Path::new("/tmp/test"), Path::new("test-result/test"), "test-results");
|
||||
}
|
Reference in New Issue
Block a user