diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-03-09 21:05:51 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-03-11 12:29:57 -0500 |
commit | 0a87b8fbd5b013b8da07f6bc30360ff735217367 (patch) | |
tree | 16cd52e499f0cc9a919c8d0d32a3932573ebbfcd /org/sisu_build.org | |
parent | org-mode, track bin files (diff) |
org-mode and ruby file headers modified
- org-mode file headers modified to preserve
org-mode ruby syntax highlighting
Diffstat (limited to 'org/sisu_build.org')
-rw-r--r-- | org/sisu_build.org | 58 |
1 files changed, 38 insertions, 20 deletions
diff --git a/org/sisu_build.org b/org/sisu_build.org index da7ce0b1..c9d05937 100644 --- a/org/sisu_build.org +++ b/org/sisu_build.org @@ -55,7 +55,8 @@ git log --pretty=format:"%h %ad - %s%d [%an]" --graph --date=short --no-merges > * sisu version TODO -#+BEGIN_SRC ruby :tangle ../setup/sisu_version.rb +#+HEADER: :tangle ../setup/sisu_version.rb +#+BEGIN_SRC ruby #% constants module SiSUversion SiSU_version = '7.2.1' @@ -67,7 +68,8 @@ end * +makefile+ :makefile: -#+BEGIN_SRC makefile :NO-tangle ../makefile +#+HEADER: :NO-tangle ../makefile +#+BEGIN_SRC makefile #+END_SRC * qi (quick install) @@ -340,7 +342,8 @@ __END__ ** qi_lib -#+BEGIN_SRC ruby :tangle ../setup/qi_libs.rb +#+HEADER: :tangle ../setup/qi_libs.rb +#+BEGIN_SRC ruby require_relative 'sisu_version' module Project_details include SiSUversion @@ -1026,8 +1029,9 @@ __END__ * sisu thor lib -#+BEGIN_SRC ruby :tangle ../lib/sisu/sisu_thor_lib.rb -<<sisu_document_header>> +#+HEADER: :tangle ../lib/sisu/sisu_thor_lib.rb +#+BEGIN_SRC ruby +#<<sisu_document_header>> module SiSU_Po4a_Actions require_relative 'utils_response' # utils_response.rb include SiSU_Response @@ -1440,7 +1444,10 @@ __END__ * Rake & Rant ** Rake & Rant -#+BEGIN_SRC ruby :tangle ../setup/rbuild :tangle-mode (identity #o755) :shebang #!/usr/bin/env ruby +#+HEADER: :tangle ../setup/rbuild +#+HEADER: :shebang #!/usr/bin/env ruby +#+HEADER: :tangle-mode (identity #o755) +#+BEGIN_SRC ruby =begin Common Rakefile, Rantfile installer for SiSU softlink Rakefile and Rantfile to this file @@ -2014,7 +2021,8 @@ end ** Rake & Rant libs -#+BEGIN_SRC ruby :tangle ../setup/rbuild_libs.rb +#+HEADER: :tangle ../setup/rbuild_libs.rb +#+BEGIN_SRC ruby module Project_details require_relative 'sisu_version' include SiSUversion @@ -2477,7 +2485,8 @@ end ** Rake & Rant help -#+BEGIN_SRC ruby :tangle ../setup/rbuild_help.rb +#+HEADER: :tangle ../setup/rbuild_help.rb +#+BEGIN_SRC ruby module Help def self.project_help puts <<WOK @@ -2519,14 +2528,16 @@ end ** envrc -#+BEGIN_SRC sh :tangle ../.envrc +#+HEADER: :tangle ../.envrc +#+BEGIN_SRC sh NIX_ENFORCE_PURITY=0 if [ -e .envrc-local ]; then # source an additional user-specific .envrc in ./.envrc-local source .envrc-local fi #+END_SRC -#+BEGIN_SRC sh :tangle ../.envrc-local_ +#+HEADER: :tangle ../.envrc-local_ +#+BEGIN_SRC sh export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos #export NIX_PATH=nixpkgs=/nixpkgs-ra/nixpkgs ## reload when these files change @@ -2546,7 +2557,10 @@ export RUBYLIB+=`pwd`/lib *** shell.nix TODO -#+BEGIN_SRC nix :tangle ../shell.nix :tangle-mode (identity #o755) :shebang #!/usr/bin/env -S nix-shell --pure +#+HEADER: :tangle ../shell.nix +#+HEADER: :shebang #!/usr/bin/env -S nix-shell --pure +#+HEADER: :tangle-mode (identity #o755) +#+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: pkgs.mkShell { buildInputs = [( @@ -2564,7 +2578,8 @@ pkgs.mkShell { } #+END_SRC -#+BEGIN_SRC nix :NO-tangle ../shell.nix +#+HEADER: :NO-tangle ../shell.nix +#+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: pkgs.mkShell { buildInputs = [ @@ -2576,7 +2591,8 @@ pkgs.mkShell { *** packages.nix **** default -#+BEGIN_SRC nix :NO-tangle ../packages.nix +#+HEADER: :NO-tangle ../packages.nix +#+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: with pkgs; [ <<ruby_current>> @@ -2587,7 +2603,8 @@ with pkgs; [ **** ruby 3.1 -#+BEGIN_SRC nix :tangle ../nix/pkglst/packages_ruby_3_1.nix +#+HEADER: :tangle ../nix/pkglst/packages_ruby_3_1.nix +#+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: with pkgs; [ <<ruby_version_3_1>> @@ -2598,7 +2615,8 @@ with pkgs; [ **** ruby 3.0 -#+BEGIN_SRC nix :tangle ../nix/pkglst/packages_ruby_3_0.nix +#+HEADER: :tangle ../nix/pkglst/packages_ruby_3_0.nix +#+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: with pkgs; [ <<ruby_version_3_0>> @@ -2609,7 +2627,8 @@ with pkgs; [ **** ruby 2.6 -#+BEGIN_SRC nix :tangle ../nix/pkglst/packages_ruby_2_6.nix +#+HEADER: :tangle ../nix/pkglst/packages_ruby_2_6.nix +#+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: with pkgs; [ <<ruby_version_2_6>> @@ -2702,7 +2721,8 @@ git * descriptions ** README -#+BEGIN_SRC md :tangle ../README +#+HEADER: :tangle ../README +#+BEGIN_SRC md SISU - README ============= @@ -5974,8 +5994,7 @@ Configure substitution in _sisu/sisu_document_make #+NAME: sisu_document_header #+BEGIN_SRC text -#encoding: utf-8 -=begin +encoding: utf-8 - Name: SiSU - Description: documents, structuring, processing, publishing, search @@ -6027,5 +6046,4 @@ Configure substitution in _sisu/sisu_document_make <https://git.sisudoc.org/projects/> <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> -=end #+END_SRC |