summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Igne <undyamon@disroot.org>2024-01-23 18:26:50 +0100
committerFederico Igne <undyamon@disroot.org>2024-01-23 18:26:50 +0100
commit6386474ac8a4b113d5c9b4aa2b03104b7f219371 (patch)
tree72af4c12f321547b4127b7a8a84e3282477f3547
parent5c3864986f844a31e0b6dbeec48543dc6376cff6 (diff)
downloadsandy-6386474ac8a4b113d5c9b4aa2b03104b7f219371.tar.gz
sandy-6386474ac8a4b113d5c9b4aa2b03104b7f219371.zip
refarctor: rename project to 'sandy'
-rw-r--r--bin/dune4
-rw-r--r--bin/main.ml2
-rw-r--r--dune-project4
-rw-r--r--flake.nix2
-rw-r--r--lib/dune2
-rw-r--r--lib/editor.ml2
-rw-r--r--sandy.opam (renamed from sand.opam)0
-rw-r--r--test/dune2
-rw-r--r--test/test_sandy.ml (renamed from test/test_sand.ml)0
9 files changed, 9 insertions, 9 deletions
diff --git a/bin/dune b/bin/dune
index 87b4f4e..06a76ee 100644
--- a/bin/dune
+++ b/bin/dune
@@ -1,5 +1,5 @@
1(executable 1(executable
2 (public_name sand) 2 (public_name sandy)
3 (name main) 3 (name main)
4 (libraries sand) 4 (libraries sandy)
5 (modes exe byte)) 5 (modes exe byte))
diff --git a/bin/main.ml b/bin/main.ml
index e763f70..c9ca884 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -1,4 +1,4 @@
1open Sand 1open Sandy
2 2
3let () = 3let () =
4 let open Editor in 4 let open Editor in
diff --git a/dune-project b/dune-project
index cc3ce88..1cca4b6 100644
--- a/dune-project
+++ b/dune-project
@@ -1,6 +1,6 @@
1(lang dune 3.7) 1(lang dune 3.7)
2 2
3(name sand) 3(name sandy)
4 4
5(generate_opam_files true) 5(generate_opam_files true)
6 6
@@ -18,7 +18,7 @@
18; (documentation https://url/to/documentation) 18; (documentation https://url/to/documentation)
19 19
20(package 20(package
21 (name sand) 21 (name sandy)
22 (synopsis "A simple editor inspired by 'kilo'.") 22 (synopsis "A simple editor inspired by 'kilo'.")
23; (description "A longer description") 23; (description "A longer description")
24; (tags 24; (tags
diff --git a/flake.nix b/flake.nix
index 6fdf260..8737458 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,7 +9,7 @@
9 let 9 let
10 pkgs = import nixpkgs { inherit system; }; 10 pkgs = import nixpkgs { inherit system; };
11 11
12 package = "sand"; 12 package = "sandy";
13 on = opam-nix.lib.${system}; 13 on = opam-nix.lib.${system};
14 localPackagesQuery = builtins.mapAttrs (_: pkgs.lib.last) 14 localPackagesQuery = builtins.mapAttrs (_: pkgs.lib.last)
15 (on.listRepo (on.makeOpamRepo ./.)); 15 (on.listRepo (on.makeOpamRepo ./.));
diff --git a/lib/dune b/lib/dune
index 6da5e0a..0594758 100644
--- a/lib/dune
+++ b/lib/dune
@@ -1,3 +1,3 @@
1(library 1(library
2 (name sand) 2 (name sandy)
3 (libraries base stdio unix)) 3 (libraries base stdio unix))
diff --git a/lib/editor.ml b/lib/editor.ml
index 230f13a..f8091b8 100644
--- a/lib/editor.ml
+++ b/lib/editor.ml
@@ -156,7 +156,7 @@ module Action = struct
156 let welcome (r, c) = 156 let welcome (r, c) =
157 let open Text in 157 let open Text in
158 let hfill = ' ' and vfill = Sequence.empty in 158 let hfill = ' ' and vfill = Sequence.empty in
159 "Welcome to the sand editor!" |> String.to_list |> Sequence.of_list 159 "Welcome to the sandy editor!" |> String.to_list |> Sequence.of_list
160 |> center ~fill:hfill c |> Sequence.singleton |> center ~fill:vfill r 160 |> center ~fill:hfill c |> Sequence.singleton |> center ~fill:vfill r
161 in 161 in
162 let aux e = 162 let aux e =
diff --git a/sand.opam b/sandy.opam
index c317b92..c317b92 100644
--- a/sand.opam
+++ b/sandy.opam
diff --git a/test/dune b/test/dune
index 718218c..f53385a 100644
--- a/test/dune
+++ b/test/dune
@@ -1,2 +1,2 @@
1(test 1(test
2 (name test_sand)) 2 (name test_sandy))
diff --git a/test/test_sand.ml b/test/test_sandy.ml
index e69de29..e69de29 100644
--- a/test/test_sand.ml
+++ b/test/test_sandy.ml