mirror of
https://github.com/Nutomic/ibis.git
synced 2024-12-23 04:41:22 +00:00
Fix ci
This commit is contained in:
parent
c59ba6185e
commit
a764598f70
3 changed files with 9 additions and 7 deletions
|
@ -79,11 +79,6 @@ steps:
|
||||||
- export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH"
|
- export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH"
|
||||||
- sudo -u testuser env "PATH=$PATH" "CARGO_HOME=$CARGO_HOME" cargo test --no-fail-fast
|
- sudo -u testuser env "PATH=$PATH" "CARGO_HOME=$CARGO_HOME" cargo test --no-fail-fast
|
||||||
|
|
||||||
npm_install:
|
|
||||||
image: node:current-alpine
|
|
||||||
commands:
|
|
||||||
- npm install
|
|
||||||
|
|
||||||
build_release:
|
build_release:
|
||||||
image: *rust_image
|
image: *rust_image
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -65,8 +65,6 @@ send_wrapper = "0.6.0"
|
||||||
web-sys = "0.3.72"
|
web-sys = "0.3.72"
|
||||||
http = "1.1.0"
|
http = "1.1.0"
|
||||||
serde_urlencoded = "0.7.1"
|
serde_urlencoded = "0.7.1"
|
||||||
include_dir = "0.7.4"
|
|
||||||
mime_guess = "2.0.5"
|
|
||||||
|
|
||||||
# backend-only deps
|
# backend-only deps
|
||||||
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
||||||
|
@ -101,6 +99,8 @@ reqwest = { version = "0.12.9", features = ["json", "cookies"] }
|
||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
env_logger = { version = "0.11.5", default-features = false }
|
env_logger = { version = "0.11.5", default-features = false }
|
||||||
anyhow = "1.0.93"
|
anyhow = "1.0.93"
|
||||||
|
include_dir = "0.7.4"
|
||||||
|
mime_guess = "2.0.5"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = "1.4.1"
|
pretty_assertions = "1.4.1"
|
||||||
|
|
7
build.rs
Normal file
7
build.rs
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
use std::{fs::create_dir_all, io::Result};
|
||||||
|
|
||||||
|
/// Create site folder so include_dir macro for assets doesn't throw error in clean repo
|
||||||
|
fn main() -> Result<()> {
|
||||||
|
create_dir_all("target/site/")?;
|
||||||
|
Ok(())
|
||||||
|
}
|
Loading…
Reference in a new issue