Start initial layout for justcheckers project as cargo workspace.

This commit is contained in:
Dorian 2019-02-28 08:39:27 -05:00
parent d152eb52d7
commit 3023f51e13
6 changed files with 29 additions and 3 deletions

6
.gitignore vendored
View File

@ -17,8 +17,6 @@
*.qm
.#*
*.*#
core
!core/
tags
.DS_Store
.directory
@ -73,7 +71,6 @@ Thumbs.db
# Original kivy ignored
bin
src
.DS_Store
.idea
.buildozer
@ -81,3 +78,6 @@ src
*.pyc
docs/_build
justcheckers.ini
/target
**/*.rs.bk

4
Cargo.lock generated Normal file
View File

@ -0,0 +1,4 @@
[[package]]
name = "justcheckers-engine"
version = "0.6.0"

5
Cargo.toml Normal file
View File

@ -0,0 +1,5 @@
[workspace]
members = [
"engine",
]

7
engine/Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "justcheckers-engine"
version = "0.6.0"
authors = ["Dorian Pula <dorian.pula@amber-penguin-software.ca>"]
edition = "2018"
[dependencies]

7
engine/src/lib.rs Normal file
View File

@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}