Skip to content

Commit

Permalink
Add sample wlang_trivial_sample
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvict committed Jun 8, 2022
1 parent 0957da8 commit 9fdf511
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/move/wlang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ path = "rust/test/_blank/tests.rs"
name = "wlang_smoke_test"
path = "rust/test/_integration_test/smoke_test.rs"

# [[example]]
# name = "wlang_trivial_sample"
# path = "sample/rust/wlang_trivial_sample/src/main.rs"
[[example]]
name = "wlang_trivial_sample"
path = "sample/rust/wlang_trivial_sample/src/main.rs"

[dependencies]

Expand Down
8 changes: 8 additions & 0 deletions sample/rust/wlang_trivial_sample/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "wlang_trivial_sample"
version = "0.0.0"
edition = "2021"
publish = false

[dependencies]
wlang = { version = "~0.1", path = "../../../module/move/wlang" }
5 changes: 5 additions & 0 deletions sample/rust/wlang_trivial_sample/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Sample

[![discord](https://img.shields.io/discord/872391416519737405?color=eee&logo=discord&logoColor=eee&label=ask)](https://discord.gg/m3YfbXpUUY)
[![Open in Gitpod](https://raster.shields.io/static/v1?label=try&message=online&color=eee&logo=gitpod&logoColor=eee)](https://gitpod.io/#RUN_PATH=sample%2Frust%2Fwlang_trivial_sample,SAMPLE_FILE=.%2Fsrc%2Fmain.rs/https://github.com/Wandalen/wTools)
[![docs.rs](https://raster.shields.io/static/v1?label=docs&message=online&color=eee&logo=docsdotrs&logoColor=eee)](https://docs.rs/wlang)
7 changes: 7 additions & 0 deletions sample/rust/wlang_trivial_sample/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#[ allow( unused_imports ) ]
use wlang::*;

fn main()
{
}

0 comments on commit 9fdf511

Please sign in to comment.