* refactor: extract object store code into windmill-object-store crate with filesystem backend Consolidate all object_store-dependent code from windmill-common into a new windmill-object-store crate. Add a filesystem-backed object store implementation using LocalFileSystem for dev/testing without cloud credentials. Includes 30 comprehensive tests covering render_endpoint, lfs_to_object_store_resource, duckdb_connection_settings, error mapping, and filesystem-backed integration tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * all * all * all * all * fix: fix raw_app hardcoded path, add missing ObjectStoreResource import, and add tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * refactor: move S3ModeFormat to windmill-types, make windmill-parser-sql optional, restore debug logs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * all --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
436 B
Rust
12 lines
436 B
Rust
fn main() {
|
|
// rust-embed requires the embedded folder to exist at compile time.
|
|
// When building without a prior frontend build, create the directory
|
|
// so the derive macro doesn't panic.
|
|
let dir = std::env::var("FRONTEND_BUILD_DIR")
|
|
.unwrap_or_else(|_| "../../frontend/build/".to_string());
|
|
let path = std::path::Path::new(&dir);
|
|
if !path.exists() {
|
|
std::fs::create_dir_all(path).ok();
|
|
}
|
|
}
|