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
use crate::{common, ARGS};

const FILENAME: &str = "Makefile";
const MAKEFILE_CONTENTS: &str = include_str!("../resources/Makefile.in");

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