cargo-casper 3.0.0

A command line tool for creating a Wasm smart contract and tests for use on the Casper network.
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{common, ARGS};

const FILENAME: &str = ".travis.yml";
const CONTENTS: &str = r#"language: rust
script:
  - make prepare
  - make check-lint
  - make test
"#;

pub fn create() {
    common::write_file(ARGS.root_path().join(FILENAME), CONTENTS);
}