From 0a87b8fbd5b013b8da07f6bc30360ff735217367 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 9 Mar 2022 21:05:51 -0500 Subject: org-mode and ruby file headers modified - org-mode file headers modified to preserve org-mode ruby syntax highlighting --- org/sisu_build.org | 58 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 20 deletions(-) (limited to 'org/sisu_build.org') 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 -<> +#+HEADER: :tangle ../lib/sisu/sisu_thor_lib.rb +#+BEGIN_SRC ruby +#<> 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 < {} }: 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 {} }: 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 {} }: with pkgs; [ <> @@ -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 {} }: with pkgs; [ <> @@ -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 {} }: with pkgs; [ <> @@ -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 {} }: with pkgs; [ <> @@ -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 -=end #+END_SRC -- cgit v1.2.3