@profoundlogic/codermake 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,6 +110,15 @@ endef
110
110
 
111
111
  ######
112
112
  # Reusable utility for remote builds via SSH.
113
+ #
114
+ # Source files are bundled into a tar locally, streamed over SSH, and extracted
115
+ # on the IBM i. Extraction uses PASE tar (/QOpenSys/usr/bin/tar) rather than
116
+ # QShell tar (/usr/bin/tar). QShell tar tags extracted stream files with the
117
+ # job CCSID (e.g. 37 EBCDIC) regardless of the file's actual byte content,
118
+ # which corrupts UTF-8 source containing extended characters (Ó, Í, Ú, Á, É,
119
+ # Ñ, ...): the bytes survive but the wrong CCSID tag causes the RPG compiler
120
+ # to read garbled source. PASE tar tags extracted files with CCSID 1208 (UTF-8),
121
+ # which matches what local editors produce.
113
122
  ######
114
123
  ######
115
124
  # $(1) = source root directory to tar from (use '.' for current directory)
@@ -126,7 +135,7 @@ EXIT_CODE=0
126
135
  cat "$$TAR_FILE" | $(SSH) "cat > '$$REMOTE_DIR/sources.tar'" && \
127
136
  $(SSH) "REMOTE_DIR=$$REMOTE_DIR $(QSHELL)" <<'EOF'
128
137
  cd $$REMOTE_DIR
129
- tar -xf sources.tar
138
+ /QOpenSys/usr/bin/tar -xf sources.tar
130
139
  cd $$REMOTE_DIR
131
140
  $(SET_LIBL)
132
141
  $(3)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profoundlogic/codermake",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Make wrapper framework for IBM i development that simplifies build rules",
5
5
  "main": "dist/bin/index.js",
6
6
  "type": "module",