diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-04-29 20:53:38 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-04-29 21:39:34 -0400 |
| commit | 935340c927c12366db3cb34514726c374db2d264 (patch) | |
| tree | 49e7cda34c31c6d14085a7c758d93e28437a4cda /org | |
| parent | nix keeping: nix-shell, nix-build derivation.nix (diff) | |
editorconfig added
Diffstat (limited to 'org')
| -rw-r--r-- | org/config_env.org | 37 | ||||
| -rw-r--r-- | org/config_git.org | 2 |
2 files changed, 38 insertions, 1 deletions
diff --git a/org/config_env.org b/org/config_env.org index 151435b..31b5661 100644 --- a/org/config_env.org +++ b/org/config_env.org @@ -108,6 +108,7 @@ echo ' • nix flake set default ❯❯ nix build --print-build-logs ❯❯ nix build ".#" --print-build-logs + • nix build using nixpkgs ❯❯ nix build ".#spine-nixpkgs-dmd" --print-build-logs ❯❯ nix build ".#spine-nixpkgs-ldc" --print-build-logs • nix build using package overlays: (dmd, ldc, dub, dtools) @@ -195,6 +196,40 @@ export SpineDBpath=/var/www/sqlite #export SpineDBpath=/srv/www/spine/sqlite #+END_SRC +* editorconfig + +#+HEADER: :tangle "../.editorconfig" +#+BEGIN_SRC gitignore +# EditorConfig : https://editorconfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{org,d,nix}] +charset = utf-8 + +# Indentation override for all D under src directory +[src/sisudoc/**.d] +indent_style = space +indent_size = 2 + +# Tab indentation (no size specified) +[Makefile] +indent_style = tab + +[{dub.selections.json,dub_describe.json}] +indent_style = space +indent_size = 2 +#+END_SRC + * org includes - versions GET ** direnv @@ -249,7 +284,7 @@ export SpineDBpath=/var/www/sqlite <<./nix-develop-dlang-shared.org:dtools-version()>> #+END_SRC -** spine project VERSION :version:set:project: +** spine project VERSION #+NAME: spine_version #+HEADER: :noweb yes diff --git a/org/config_git.org b/org/config_git.org index 220cad7..6a0cdbe 100644 --- a/org/config_git.org +++ b/org/config_git.org @@ -21,6 +21,7 @@ #+HEADER: :tangle "../.gitignore" #+BEGIN_SRC gitignore # git ls-files --others --exclude-from=.git/info/exclude +# git ls-files --others --ignored --exclude-standard --directory # git check-ignore -v flake.lock # git clean -ix # find . -name "*_" | xargs rm -rf @@ -28,6 +29,7 @@ ,* !.gitignore !.gitattributes +!.editorconfig !nix/** !*.nix !flake.lock |
