1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-12-23 00:01:22 +00:00
This commit is contained in:
Felix Ableitner 2024-12-11 13:16:15 +01:00
parent c59ba6185e
commit a764598f70
3 changed files with 9 additions and 7 deletions

View file

@ -79,11 +79,6 @@ steps:
- 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
npm_install:
image: node:current-alpine
commands:
- npm install
build_release:
image: *rust_image
environment:

View file

@ -65,8 +65,6 @@ send_wrapper = "0.6.0"
web-sys = "0.3.72"
http = "1.1.0"
serde_urlencoded = "0.7.1"
include_dir = "0.7.4"
mime_guess = "2.0.5"
# backend-only deps
[target.'cfg(not(target_family = "wasm"))'.dependencies]
@ -101,6 +99,8 @@ reqwest = { version = "0.12.9", features = ["json", "cookies"] }
futures = "0.3.31"
env_logger = { version = "0.11.5", default-features = false }
anyhow = "1.0.93"
include_dir = "0.7.4"
mime_guess = "2.0.5"
[dev-dependencies]
pretty_assertions = "1.4.1"

7
build.rs Normal file
View 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(())
}