Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packaging #6

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .cache/git/config

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .cache/git/hooks/pre-push

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .cache/vale/Vocab/elisp-reader/accept.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .cache/vale/config/vocabularies/elisp-reader/accept.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .config/emacs/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
;; TODO: We have to be careful what variables we set here. Some can cause the
;; Eldev linters to not read the settings here. See emacs-eldev/eldev#83.
((nil
(fill-column . 80)
(indent-tabs-mode . nil)
(sentence-end-double-space . t)))
8 changes: 8 additions & 0 deletions .config/mustache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
project:
description: >-
This makes it possible to define syntax extensions, similar to what can
be done in Common Lisp with `set-macro-character`.
name: "elisp-reader"
repo: "sellout/elisp-reader.el"
summary: "A custom Lisp reader written in Elisp"
type: { name: "emacs-lisp" }
36 changes: 36 additions & 0 deletions .config/project/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
config,
flaky,
lib,
supportedSystems,
...
}: {
project = {
name = "elisp-reader";
summary = "A custom Lisp reader written in Elisp";
};

## dependency management
services.renovate.enable = true;

## development
programs = {
direnv.enable = true;
git.enable = true;
};

## formatting
editorconfig.enable = true;
project.file.".dir-locals.el".source = lib.mkForce ../emacs/.dir-locals.el;
programs = {
treefmt.enable = true;
vale.enable = true;
};

## CI
services.garnix.enable = true;

## publishing
services.flakehub.enable = true;
services.github.enable = true;
}
6 changes: 6 additions & 0 deletions .dir-locals.el

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .editorconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .envrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/renovate.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/settings.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions .github/workflows/flakehub-publish.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .vale.ini

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions Eldev
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
;; -*- mode: emacs-lisp; lexical-binding: t; -*-

(require 'eldev)

(setq
eldev-files-to-package `(:or ,eldev-files-to-package "*.elc")
;; run all linters by default
eldev-lint-default t
;; and disable the ‘elisp-lint’ validators that are already covered by
;; ‘eldev-lint’ (see ‘eldev-linter-elisp’).
elisp-lint-ignored-validators '("checkdoc" "package-lint"))

;; Allow `read-symbol-shorthands` to work (see purcell/package-lint#238).
(eval-after-load 'package-lint
'(add-to-list 'package-lint--allowed-prefix-mappings
'("elisp-reader" . ("er"))))
Loading