From 8aa348417abde8f9b8e15d734e6e44a67dec4378 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Mon, 12 Aug 2024 00:35:52 +0900 Subject: [PATCH] style(template): Reformat --- .../.github/workflows/check-emacs-lisp.yml | 17 ++++++-------- templates/default/flake.nix | 23 +++++++++---------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/templates/default/.github/workflows/check-emacs-lisp.yml b/templates/default/.github/workflows/check-emacs-lisp.yml index 29ea45c..139fa43 100644 --- a/templates/default/.github/workflows/check-emacs-lisp.yml +++ b/templates/default/.github/workflows/check-emacs-lisp.yml @@ -1,5 +1,4 @@ name: Check Emacs Lisp - on: pull_request: paths-ignore: @@ -10,19 +9,17 @@ on: paths-ignore: - 'README.*' workflow_dispatch: - jobs: compile-and-test: uses: emacs-twist/elisp-workflows/.github/workflows/compile-and-test.yml@master # with: - # rice-config: github:emacs-twist/rice-config - # melpa: github:akirak/melpa/akirak - # systems: github:nix-systems/x86_64-linux - # lock-dir: .rice-lock/default - + # rice-config: github:emacs-twist/rice-config + # melpa: github:akirak/melpa/akirak + # systems: github:nix-systems/x86_64-linux + # lock-dir: .rice-lock/default melpazoid: uses: emacs-twist/elisp-workflows/.github/workflows/melpazoid.yml@master # with: - # rice-config: github:emacs-twist/rice-config - # melpa: github:akirak/melpa/akirak - # lock-dir: .rice-lock/default + # rice-config: github:emacs-twist/rice-config + # melpa: github:akirak/melpa/akirak + # lock-dir: .rice-lock/default diff --git a/templates/default/flake.nix b/templates/default/flake.nix index c80d4be..9a40a97 100644 --- a/templates/default/flake.nix +++ b/templates/default/flake.nix @@ -1,16 +1,15 @@ { - outputs = {...}: { - elisp-rice = { - packages = - builtins.trace - "warning: To use rice-config, please set the package name(s) in flake.nix" - [ - (abort "Please set the package name (without .el)") - ]; - # Configure tests - tests = { - # buttercup.enable = true; + outputs = + { ... }: + { + elisp-rice = { + packages = + builtins.trace "warning: To use rice-config, please set the package name(s) in flake.nix" + [ (abort "Please set the package name (without .el)") ]; + # Configure tests + tests = { + # buttercup.enable = true; + }; }; }; - }; }