From e4a3247f637840026385694b21d1ff2a6590522b Mon Sep 17 00:00:00 2001 From: PoiScript Date: Fri, 13 Sep 2019 21:38:39 +0800 Subject: [PATCH] fix(ci): move Procfile to the root --- .travis.yml | 3 --- orgize-demos/Procfile => Procfile | 0 RustConfig | 1 + orgize-demos/Cargo.toml | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) rename orgize-demos/Procfile => Procfile (100%) create mode 100644 RustConfig diff --git a/.travis.yml b/.travis.yml index f85b33b..1384a7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,6 @@ script: - cargo fmt --all -- --check - cargo test --all -before_deploy: - - cd orgize-demos/ - deploy: provider: heroku api_key: $HEROKU_API_KEY diff --git a/orgize-demos/Procfile b/Procfile similarity index 100% rename from orgize-demos/Procfile rename to Procfile diff --git a/RustConfig b/RustConfig new file mode 100644 index 0000000..a5dc973 --- /dev/null +++ b/RustConfig @@ -0,0 +1 @@ +RUST_CARGO_BUILD_FLAGS="--release -p orgize-demos" diff --git a/orgize-demos/Cargo.toml b/orgize-demos/Cargo.toml index 1b2306f..54c0d27 100644 --- a/orgize-demos/Cargo.toml +++ b/orgize-demos/Cargo.toml @@ -7,6 +7,6 @@ publish = false [dependencies] actix-web = { version = "1.0.7", default-features = false } -orgize = { path = "../orgize", git = "https://github.com/PoiScript/orgize" } +orgize = { path = "../orgize" } serde = { version = "1.0.100", features = ["derive"] } serde_json = "1.0.40"