2023-06-08 23:14:23 +02:00
|
|
|
require "spec"
|
2023-06-10 16:24:47 +02:00
|
|
|
require "./methods/*"
|
2023-06-08 23:14:23 +02:00
|
|
|
|
2023-06-10 15:37:52 +02:00
|
|
|
check_top_level_imports("modules")
|
2023-06-10 15:39:41 +02:00
|
|
|
check_top_level_imports("overlays")
|
2023-06-16 14:12:58 +02:00
|
|
|
check_top_level_imports("home")
|
2023-06-09 01:11:40 +02:00
|
|
|
|
2023-06-11 02:07:37 +02:00
|
|
|
describe "./overlays/joshuto/default.nix", tags: "online" do
|
2023-06-09 01:11:40 +02:00
|
|
|
it "uses the latest joshuto commit" do
|
2023-06-09 15:06:04 +02:00
|
|
|
check_latest_commit("kamiyaa/joshuto", branch: "main")
|
|
|
|
end
|
|
|
|
end
|
2023-06-09 01:11:40 +02:00
|
|
|
|
2023-06-11 02:07:37 +02:00
|
|
|
describe "./overlays/rofi/default.nix", tags: "online" do
|
2023-06-09 15:06:04 +02:00
|
|
|
it "uses the latest rofi-wayland commit" do
|
|
|
|
check_latest_commit("lbonn/rofi", branch: "wayland")
|
2023-06-09 01:11:40 +02:00
|
|
|
end
|
2023-06-08 23:14:23 +02:00
|
|
|
end
|