Skip to content

Commit db57613

Browse files
committed
update deps
1 parent 7fe2024 commit db57613

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

.github/workflows/deps.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Dependency Check
22

33
on:
44
schedule:
5-
- cron: "0 9 * * *"
5+
- cron: "0 9 * * *"
66
push:
77
branches:
88
- main

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[![gleam js](https://img.shields.io/badge/%20gleam%20%E2%9C%A8-js%20%F0%9F%8C%B8-yellow)](https://gleam.run/news/v0.16-gleam-compiles-to-javascript/)
77
[![gleam erlang](https://img.shields.io/badge/erlang%20%E2%98%8E%EF%B8%8F-red?style=flat&label=gleam%20%E2%9C%A8)](https://gleam.run)
88

9-
A tool for managing git lifecycle hooks with ✨ gleam! Pre commit, Pre push and more!
9+
A tool for managing git lifecycle hooks with ✨ gleam! Pre commit, Pre push and
10+
more!
1011

1112
# 🔽 Install
1213

gleam.toml

+9-5
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ always_init = true
2020

2121
[cactus.pre-commit]
2222
actions = [
23-
{ command = "format", kind = "sub_command", args = [
24-
"--check",
25-
], files = [
23+
{ command = "./scripts/format.sh", kind = "binary", files = [
2624
".gleam",
2725
] },
2826
{ command = "./scripts/test.sh", kind = "binary" },
@@ -38,8 +36,14 @@ actions = [
3836

3937
[cactus.test]
4038
actions = [
41-
{ command = "touch", kind = "binary", args =[".another.test-run"] },
42-
{ command = "touch", kind = "binary", args = [".test-run"], files = [".another.test-run"] },
39+
{ command = "touch", kind = "binary", args = [
40+
".another.test-run",
41+
] },
42+
{ command = "touch", kind = "binary", args = [
43+
".test-run",
44+
], files = [
45+
".another.test-run",
46+
] },
4347
]
4448

4549
[dependencies]

manifest.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages = [
77
{ name = "filepath", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "67A6D15FB39EEB69DD31F8C145BB5A421790581BD6AA14B33D64D5A55DBD6587" },
88
{ name = "gleam_hexpm", version = "1.1.0", build_tools = ["gleam"], requirements = ["birl", "gleam_stdlib"], otp_app = "gleam_hexpm", source = "hex", outer_checksum = "D32439FD6AD683FE1094922737904EC2091E2D7B1F236AD23815935694A5221A" },
99
{ name = "gleam_json", version = "2.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleam_json", source = "hex", outer_checksum = "0A57FB5666E695FD2BEE74C0428A98B0FC11A395D2C7B4CDF5E22C5DD32C74C6" },
10-
{ name = "gleam_stdlib", version = "0.44.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "A6E55E309A6778206AAD4038D9C49E15DF71027A1DB13C6ADA06BFDB6CF1260E" },
10+
{ name = "gleam_stdlib", version = "0.45.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "206FCE1A76974AECFC55AEBCD0217D59EDE4E408C016E2CFCCC8FF51278F186E" },
1111
{ name = "gleamsver", version = "1.0.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleamsver", source = "hex", outer_checksum = "EA74FDC66BF15CB2CF4F8FF9B6FA01D511712EE2B1F4BE0371076ED3F685EEAE" },
1212
{ name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" },
1313
{ name = "gleither", version = "2.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleither", source = "hex", outer_checksum = "86606790899097D8588C0F70C654D9626C634AF14E18F618F4C351FEC6FDA773" },

scripts/format.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
cd "$(dirname "$0")/.."
4+
5+
gleam fix
6+
gleam format
7+
deno fmt

0 commit comments

Comments
 (0)