Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
fix: change lib/main result names
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Jul 8, 2018
1 parent 5db7ed2 commit 76e5e99
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ deploy:
api_key:
secure: GdRtivT9PCEPgl4Yn1u+eEnXSn73t7bWnb/8oXMr53UMKw3tHTgvESXzb42J1U93cMGiAmtFYiOYBDnmXrXK2QMeFBjuzoXu/Gb8zZOvOCkYyA8FLTx17tlC2WBFSm21zSOpSWY6vtlPsnjALbFPvXSu1P09RQI+BZJTXBWU3XEVQY14zqhnOPP3UEUv4PrLKLmM60+/2F09WfpSd0hhjznDfwq8FknZpJbnZIa55bWM0ZQpR9YRCYbhrC7F1o7yEh1EiDRS8WJuNi8Ws6hB4yQwKgXOKQyFSUk5r8777c69gH6YiSRNwar3bzbliWsRpnFqrpbv5KsChS3I7vtdE7aljxS9rgLhGAfL+sXYJJnaHqfXEr4MneoQesbAt30Hhk/qsoNps1939g1SUEC5SMU9ThYgrSGEeNE7EplUhsI5loOJFJhPhGj0S4crylaWJ2jGefZlzR7mCGNRqEWtVBXb7QdKSlooAPKXHF4a9kijHLS8z8cQ3uuH8rvpBd9ffTDhsJZUlCSr8PMf3/hldC2XGFD8gQQV4SBvY6oxHLtyfNWbIGfRKpu1cBbiHc93UFOZ1be7ti2FzRBQ3+X09WfsUMxY44G8hL6xLooPcS9c7yY1L0Ixc3k/GeGYarb03kUmADeZZxUNOLwmBC6kSOrOWDCX28raJQnE5O6ksQY=
file:
- "target/release/howtocards_backend"
- "target/release/howtocards_backend.d"
- "target/release/howtocards_backend.rlib"
- "target/release/howtocards_server"
- "target/release/libhowtocards.a"
- "target/release/libhowtocards.d"
- "target/release/libhowtocards.dylib"
- "target/release/libhowtocards.rlib"
skip_cleanup: true
on:
repo: howtocards/backend
Expand Down
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ name = "howtocards_backend"
version = "0.1.0"
authors = ["Sergey Sova <mail@sergeysova.com>"]

[[bin]]
name = "howtocards_server"
path = "./src/main.rs"

[lib]
name = "howtocards"
crate-type = ["dylib", "rlib", "staticlib"]

[dependencies]
actix-web = "0.6"
serde = "1.0.66"
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
extern crate failure;
extern crate howtocards_backend;
extern crate howtocards;

fn main() -> Result<(), failure::Error> {
howtocards_backend::create_server()?;
howtocards::create_server()?;
// .bind("127.0.0.1:9000")
// .unwrap()
// .run();
Expand Down

0 comments on commit 76e5e99

Please sign in to comment.