From 2986d81a7e8d143799c4f4509a52eb36d20adf8c Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Wed, 29 Apr 2026 22:48:39 -0500 Subject: [PATCH] =?UTF-8?q?Replace=20el.toml=20with=20manifest.el=20throug?= =?UTF-8?q?hout=20=E2=80=94=20El=20manifests=20are=20El,=20not=20TOML?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/el-ide-server/src/tests.rs | 4 ++-- examples/hello-project/el.toml | 3 --- examples/hello-project/manifest.el | 3 +++ projects/hello-friends/el.toml | 6 ------ projects/hello-friends/manifest.el | 6 ++++++ 5 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 examples/hello-project/el.toml create mode 100644 examples/hello-project/manifest.el delete mode 100644 projects/hello-friends/el.toml create mode 100644 projects/hello-friends/manifest.el diff --git a/crates/el-ide-server/src/tests.rs b/crates/el-ide-server/src/tests.rs index 6fc0a3f..e55fcbe 100644 --- a/crates/el-ide-server/src/tests.rs +++ b/crates/el-ide-server/src/tests.rs @@ -92,8 +92,8 @@ async fn test_list_files_contains_src_dir() { let (status, json) = get_json(app, "/api/files?path=.").await; assert_eq!(status, StatusCode::OK); let arr = json.as_array().unwrap(); - let has_src = arr.iter().any(|e| e["name"] == "src" || e["name"] == "el.toml"); - assert!(has_src, "expected src or el.toml in listing; got {arr:?}"); + let has_src = arr.iter().any(|e| e["name"] == "src" || e["name"] == "manifest.el"); + assert!(has_src, "expected src or manifest.el in listing; got {arr:?}"); } // ── GET /api/file ───────────────────────────────────────────────────────────── diff --git a/examples/hello-project/el.toml b/examples/hello-project/el.toml deleted file mode 100644 index 5261a74..0000000 --- a/examples/hello-project/el.toml +++ /dev/null @@ -1,3 +0,0 @@ -[package] -name = "hello" -version = "0.1.0" diff --git a/examples/hello-project/manifest.el b/examples/hello-project/manifest.el new file mode 100644 index 0000000..af6f4a1 --- /dev/null +++ b/examples/hello-project/manifest.el @@ -0,0 +1,3 @@ +package "hello" { + version "0.1.0" +} diff --git a/projects/hello-friends/el.toml b/projects/hello-friends/el.toml deleted file mode 100644 index 49fb451..0000000 --- a/projects/hello-friends/el.toml +++ /dev/null @@ -1,6 +0,0 @@ -[package] -name = "hello-friends" -version = "0.1.0" -description = "Hello world — first program in Engram" -authors = ["Will Anderson"] -edition = "2026" diff --git a/projects/hello-friends/manifest.el b/projects/hello-friends/manifest.el new file mode 100644 index 0000000..a0b39f2 --- /dev/null +++ b/projects/hello-friends/manifest.el @@ -0,0 +1,6 @@ +package "hello-friends" { + version "0.1.0" + description "Hello world — first program in Engram" + authors ["Will Anderson"] + edition "2026" +}