@profoundlogic/codermake 1.6.3 → 1.7.0
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.
- package/dist/bin/index.js +1 -1
- package/dist/bin/preprocess-rpg-copy.js +1 -1
- package/dist/bin/rdf-to-dds.js +1 -1
- package/dist/lib/discovery.js +1 -1
- package/dist/lib/ejs-to-dds.js +1 -1
- package/dist/lib/executor.js +1 -1
- package/dist/lib/generate-rdf-dds.js +1 -1
- package/dist/lib/license.js +1 -1
- package/dist/lib/makefile-generator.js +1 -1
- package/dist/lib/platform.js +1 -1
- package/dist/lib/preprocessor.js +1 -1
- package/dist/lib/rdf-to-post-data.js +1 -1
- package/dist/lib/rpg-copy-preprocessor.js +1 -1
- package/dist/lib/ssh.js +1 -1
- package/dist/lib/writer.js +1 -1
- package/dist/makefiles/ibmi.mk +14 -0
- package/dist/makefiles/unix.mk +14 -0
- package/package.json +1 -1
- package/skills/codermake/SKILL.md +3 -1
- package/skills/codermake/references/file-types.md +18 -0
package/dist/makefiles/unix.mk
CHANGED
|
@@ -205,6 +205,20 @@ $(call RPG_CLEANUP_SOURCES)
|
|
|
205
205
|
touch '$@'
|
|
206
206
|
endef
|
|
207
207
|
|
|
208
|
+
# Build ILE COBOL program (bound)
|
|
209
|
+
define BUILD_CBLLE_PGM
|
|
210
|
+
$(call SETUP_LOG,$(notdir $@))
|
|
211
|
+
$(call REMOTE_BUILD,$(filter-out build/%,$^),system "crtbndcbl pgm($(LIBRARY)/$(basename $(@F))) srcstmf('$<') output(*print) dbgview(*all)")
|
|
212
|
+
touch '$@'
|
|
213
|
+
endef
|
|
214
|
+
|
|
215
|
+
# Build ILE COBOL module
|
|
216
|
+
define BUILD_CBLLE_MODULE
|
|
217
|
+
$(call SETUP_LOG,$(notdir $@))
|
|
218
|
+
$(call REMOTE_BUILD,$(filter-out build/%,$^),system "crtcblmod module($(LIBRARY)/$(basename $(@F))) srcstmf('$<') output(*print) dbgview(*all)")
|
|
219
|
+
touch '$@'
|
|
220
|
+
endef
|
|
221
|
+
|
|
208
222
|
# Build ILE CL program (bound)
|
|
209
223
|
define BUILD_CLLE_PGM
|
|
210
224
|
$(call SETUP_LOG,$(notdir $@))
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ description: Build IBM i objects from source code.
|
|
|
5
5
|
|
|
6
6
|
# codermake
|
|
7
7
|
|
|
8
|
-
codermake is a Make-based build tool for IBM i projects. It compiles RPG, CL, DDS, and SQL source into IBM i objects (programs, modules, service programs, files, menus, message files, binding directories) either locally on IBM i or remotely via SSH.
|
|
8
|
+
codermake is a Make-based build tool for IBM i projects. It compiles RPG, COBOL, CL, DDS, and SQL source into IBM i objects (programs, modules, service programs, files, menus, message files, binding directories) either locally on IBM i or remotely via SSH.
|
|
9
9
|
|
|
10
10
|
## Key constraints
|
|
11
11
|
|
|
@@ -135,6 +135,8 @@ ENDPGMEXP
|
|
|
135
135
|
| `.rpgle` | `.module` | Module (*MODULE) | `CRTRPGMOD` |
|
|
136
136
|
| `.sqlrpgle` | `.pgm` | Program (*PGM) | `CRTSQLRPGI OBJTYPE(*PGM)` |
|
|
137
137
|
| `.sqlrpgle` | `.module` | Module (*MODULE) | `CRTSQLRPGI OBJTYPE(*MODULE)` |
|
|
138
|
+
| `.cblle` | `.pgm` | Program (*PGM) | `CRTBNDCBL` |
|
|
139
|
+
| `.cblle` | `.module` | Module (*MODULE) | `CRTCBLMOD` |
|
|
138
140
|
| `.clle` | `.pgm` | Program (*PGM) | `CRTBNDCL` |
|
|
139
141
|
| `.clle` | `.module` | Module (*MODULE) | `CRTCLMOD` |
|
|
140
142
|
| `.clp` / `.cl` | `.pgm` | Program (*PGM) | `CRTCLPGM` |
|
|
@@ -24,6 +24,16 @@ mypgm.pgm: mypgm.sqlrpgle
|
|
|
24
24
|
|
|
25
25
|
**CL command:** `CRTSQLRPGI OBJ(LIB/MYPGM) OBJTYPE(*PGM) SRCSTMF('src/mypgm.sqlrpgle')`
|
|
26
26
|
|
|
27
|
+
### ILE COBOL program from .cblle
|
|
28
|
+
|
|
29
|
+
Compiles an ILE COBOL source file into a bound program.
|
|
30
|
+
|
|
31
|
+
```makefile
|
|
32
|
+
mypgm.pgm: mypgm.cblle
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**CL command:** `CRTBNDCBL PGM(LIB/MYPGM) SRCSTMF('src/mypgm.cblle')`
|
|
36
|
+
|
|
27
37
|
### ILE CL program from .clle
|
|
28
38
|
|
|
29
39
|
Compiles an ILE CL source file into a bound program.
|
|
@@ -88,6 +98,14 @@ mymod.module: mymod.sqlrpgle
|
|
|
88
98
|
|
|
89
99
|
**CL command:** `CRTSQLRPGI OBJ(LIB/MYMOD) OBJTYPE(*MODULE) SRCSTMF('src/mymod.sqlrpgle')`
|
|
90
100
|
|
|
101
|
+
### ILE COBOL module from .cblle
|
|
102
|
+
|
|
103
|
+
```makefile
|
|
104
|
+
mymod.module: mymod.cblle
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**CL command:** `CRTCBLMOD MODULE(LIB/MYMOD) SRCSTMF('src/mymod.cblle')`
|
|
108
|
+
|
|
91
109
|
### ILE CL module from .clle
|
|
92
110
|
|
|
93
111
|
```makefile
|