From 53b5fdc23c4a66506ad9b5416ea99597d261d114 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 22 May 2023 20:00:45 +0200 Subject: [PATCH] Emacsg: Move build and remote settings out of .gitmodules --- .borgconfig | 9 +++++++++ .dir-locals.el | 4 ++++ .gitmodules | 11 +++-------- .gitremotes | 2 ++ 4 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 .borgconfig create mode 100644 .dir-locals.el create mode 100644 .gitremotes diff --git a/.borgconfig b/.borgconfig new file mode 100644 index 0000000..d6cea4d --- /dev/null +++ b/.borgconfig @@ -0,0 +1,9 @@ +[submodule "dash"] + no-byte-compile = dash-functional.el + no-makeinfo = dash-template.texi +[submodule "emacsql"] + no-byte-compile = emacsql-pg.el +[submodule "magit"] + no-byte-compile = lisp/magit-libgit.el +[submodule "sqlite3"] + build-step = make diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..e6063c4 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,4 @@ +( + (auto-mode-alist + ("\\.\\(borgconfig\\|gitremotes\\)\\'" . gitconfig-mode)) + ) diff --git a/.gitmodules b/.gitmodules index 50386c5..94f9daf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ -[borg] - pushDefault = locutus - collective = emacsg +[include] + path = .gitremotes + path = .borgconfig [submodule "auto-compile"] path = lib/auto-compile url = git@github.com:emacscollective/auto-compile.git @@ -14,15 +14,12 @@ path = lib/compat url = https://git.sr.ht/~pkal/compat [submodule "dash"] - no-byte-compile = dash-functional.el - no-makeinfo = dash-template.texi path = lib/dash url = git@github.com:magnars/dash.el.git [submodule "diff-hl"] path = lib/diff-hl url = git@github.com:dgutov/diff-hl.git [submodule "emacsql"] - no-byte-compile = emacsql-pg.el path = lib/emacsql url = git@github.com:magit/emacsql.git [submodule "epkg"] @@ -35,11 +32,9 @@ path = lib/llama url = https://git.sr.ht/~tarsius/llama [submodule "magit"] - no-byte-compile = lisp/magit-libgit.el path = lib/magit url = git@github.com:magit/magit.git [submodule "sqlite3"] - build-step = make path = lib/sqlite3 url = git@github.com:pekingduck/emacs-sqlite3-api.git [submodule "transient"] diff --git a/.gitremotes b/.gitremotes new file mode 100644 index 0000000..ee62b6f --- /dev/null +++ b/.gitremotes @@ -0,0 +1,2 @@ +[borg] + pushDefault = locutus