]> Kevux Git Server - fll/commitdiff
Update: The stand alone builds should also support fakefiles.
authorKevin Day <kevin@kevux.org>
Tue, 25 Apr 2023 02:57:49 +0000 (21:57 -0500)
committerKevin Day <kevin@kevux.org>
Tue, 25 Apr 2023 02:57:49 +0000 (21:57 -0500)
This is an oversight from previous changes where stand alone support is implemented and where the fakefile is make more advanced (adding help etc..).

build/scripts/package.sh
build/stand_alone/byte_dump.fakefile [new file with mode: 0644]
build/stand_alone/controller.fakefile [new file with mode: 0644]
build/stand_alone/fake.fakefile [new file with mode: 0644]
build/stand_alone/firewall.fakefile [new file with mode: 0644]
build/stand_alone/fss_identify.fakefile [new file with mode: 0644]
build/stand_alone/fss_status_code.fakefile [new file with mode: 0644]
build/stand_alone/iki_read.fakefile [new file with mode: 0644]
build/stand_alone/iki_write.fakefile [new file with mode: 0644]
build/stand_alone/status_code.fakefile [new file with mode: 0644]
build/stand_alone/utf8.fakefile [new file with mode: 0644]

index ade8d0145a33869b81182328b72b627f568517fd..844012fa87db9a971b4675216bc290758de0006c 100644 (file)
@@ -2548,6 +2548,20 @@ package_operation_stand_alone() {
       break
     fi
 
+    cp $verbose_common -R ${path_build}stand_alone/${name}.fakefile ${package}data/build/fakefile
+
+    if [[ $? -ne 0 ]] ; then
+      if [[ $verbosity != "quiet" ]] ; then
+        package_print_first
+
+        echo -e "${c_error}ERROR: Failed to copy file ${c_notice}${path_build}stand_alone/${name}.fakefile${c_error} to ${c_notice}${package}data/build/fakefile${c_error}.${c_reset}"
+      fi
+
+      let failure=1
+
+      break
+    fi
+
     if [[ ! -d ${package}sources/c/program/${name}/ ]] ; then
       mkdir $verbose_common -p ${package}sources/c/program/$name/
 
diff --git a/build/stand_alone/byte_dump.fakefile b/build/stand_alone/byte_dump.fakefile
new file mode 100644 (file)
index 0000000..91ec047
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for Byte Dump Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/controller.fakefile b/build/stand_alone/controller.fakefile
new file mode 100644 (file)
index 0000000..c189e76
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for Controller Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/fake.fakefile b/build/stand_alone/fake.fakefile
new file mode 100644 (file)
index 0000000..75e8cf3
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for Featureless Make Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/firewall.fakefile b/build/stand_alone/firewall.fakefile
new file mode 100644 (file)
index 0000000..c07e15d
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for Firewall Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/fss_identify.fakefile b/build/stand_alone/fss_identify.fakefile
new file mode 100644 (file)
index 0000000..28e7ca8
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for FSS Identify Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/fss_status_code.fakefile b/build/stand_alone/fss_status_code.fakefile
new file mode 100644 (file)
index 0000000..324bae6
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for FSS Status Code Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/iki_read.fakefile b/build/stand_alone/iki_read.fakefile
new file mode 100644 (file)
index 0000000..e0acef5
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for IKI Read Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/iki_write.fakefile b/build/stand_alone/iki_write.fakefile
new file mode 100644 (file)
index 0000000..b7c6758
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for IKI Write Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/status_code.fakefile b/build/stand_alone/status_code.fakefile
new file mode 100644 (file)
index 0000000..e84d526
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for Status Code Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.
diff --git a/build/stand_alone/utf8.fakefile b/build/stand_alone/utf8.fakefile
new file mode 100644 (file)
index 0000000..bbe159c
--- /dev/null
@@ -0,0 +1,27 @@
+# fss-0005 iki-0002
+
+settings:
+  fail exit
+  modes stand_alone clang test fanalyzer thread threadless
+
+  environment PATH LD_LIBRARY_PATH
+  environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
+
+main:
+  build
+
+install:
+  shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color'
+
+help:
+  print
+  print context:'title'Fakefile Options for UTF8 Software.context:'reset'
+
+  print
+  print The following operations are available\:
+  print "  - context:'notable'help:context:'reset'    Perform the help operation, printing this message."
+  print "  - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings."
+  print "  - context:'notable'main:context:'reset'    The default compilation using the build settings mode."
+
+  print
+  print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters.