mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-24 18:38:39 +03:00
nix: install prettier, also ignore zig-cache/out
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -101,6 +101,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4 # Check out repo so we can lint it
|
- uses: actions/checkout@v4 # Check out repo so we can lint it
|
||||||
- uses: actionsx/prettier@v3
|
- uses: cachix/install-nix-action@v23
|
||||||
with:
|
with:
|
||||||
args: --check .
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
- name: prettier check
|
||||||
|
run: nix develop -c prettier --check .
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
# Docs: https://prettier.io/docs/en/ignore.html
|
# Docs: https://prettier.io/docs/en/ignore.html
|
||||||
|
flake.lock
|
||||||
vendor/
|
vendor/
|
||||||
|
**/*.html
|
||||||
|
zig-cache/
|
||||||
|
zig-out/
|
||||||
|
|
||||||
# macos is managed by XCode GUI
|
# macos is managed by XCode GUI
|
||||||
macos/
|
macos/
|
||||||
**/*.html
|
|
||||||
flake.lock
|
|
||||||
|
|
||||||
|
@ -102,12 +102,12 @@ fetch(url.href)
|
|||||||
group_add_face(
|
group_add_face(
|
||||||
group,
|
group,
|
||||||
0 /* regular */,
|
0 /* regular */,
|
||||||
deferred_face_new(font_name.ptr, font_name.len, 0 /* text */),
|
deferred_face_new(font_name.ptr, font_name.len, 0 /* text */)
|
||||||
);
|
);
|
||||||
group_add_face(
|
group_add_face(
|
||||||
group,
|
group,
|
||||||
0 /* regular */,
|
0 /* regular */,
|
||||||
deferred_face_new(font_name.ptr, font_name.len, 1 /* emoji */),
|
deferred_face_new(font_name.ptr, font_name.len, 1 /* emoji */)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Initialize our sprite font, without this we just use the browser.
|
// Initialize our sprite font, without this we just use the browser.
|
||||||
@ -168,7 +168,7 @@ fetch(url.href)
|
|||||||
group_cache,
|
group_cache,
|
||||||
cp,
|
cp,
|
||||||
0,
|
0,
|
||||||
-1 /* best choice */,
|
-1 /* best choice */
|
||||||
);
|
);
|
||||||
group_cache_render_glyph(group_cache, font_idx, cp, -1);
|
group_cache_render_glyph(group_cache, font_idx, cp, -1);
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
, glxinfo
|
, glxinfo
|
||||||
, ncurses
|
, ncurses
|
||||||
, nodejs
|
, nodejs
|
||||||
|
, nodePackages
|
||||||
, parallel
|
, parallel
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, python3
|
, python3
|
||||||
@ -76,6 +77,9 @@ in mkShell rec {
|
|||||||
# For web and wasm stuff
|
# For web and wasm stuff
|
||||||
nodejs
|
nodejs
|
||||||
|
|
||||||
|
# Linting
|
||||||
|
nodePackages.prettier
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
parallel
|
parallel
|
||||||
python3
|
python3
|
||||||
|
Reference in New Issue
Block a user