Skip to content

Commit

Permalink
Add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Mocsary committed Jun 3, 2019
1 parent f92af35 commit d55aa9b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tera_design"
version = "0.1.1"
version = "0.1.2"
authors = ["Andras Mocsary <nobody@reedwolf.com>"]
edition = "2018"

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ It includes a copy of [SB Admin 2](https://github.com/BlackrockDigital/startboot

## License
Code released under the MIT license.

## Build
cargo install cross
cross build --release --target x86_64-pc-windows-gnu
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

zip -r tera_design_0-0-0.zip examples README.md LICENSE
cross build --release --target x86_64-pc-windows-gnu
zip -r tera_design_0-0-0.zip target/x86_64-pc-windows-gnu/release/tera_design.exe

cargo build --release --target x86_64-unknown-linux-gnu
zip -r tera_design_0-0-0.zip target/x86_64-unknown-linux-gnu/release/tera_design
Binary file added tera_design_0-1-2.zip
Binary file not shown.

0 comments on commit d55aa9b

Please sign in to comment.