Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 10 additions & 14 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# MVS host connection
MVS_HOST=localhost
MVS_PORT=1080
MVS_USER=IBMUSER
MVS_PASS=secret
# MVS connection
MBT_MVS_HOST=localhost
MBT_MVS_PORT=1080
MBT_MVS_USER=IBMUSER
MBT_MVS_PASS=secret

# JES job settings
MVS_JOBCLASS=A
MVS_MSGCLASS=H
# Dataset high-level qualifier
MBT_MVS_HLQ=IBMUSER

# CRENT370 (dependency)
CRENT_MACLIB=CRENT370.MACLIB

# Lua370 datasets
LUA_PUNCH=IBMUSER.LUA370.OBJECT
LUA_SYSLMOD=IBMUSER.LUA370.NCALIB
# Dependency datasets HLQ and volume
MBT_MVS_DEPS_HLQ=MBTDEPS
MBT_MVS_DEPS_VOLUME=PUB000
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Build

on:
pull_request:

jobs:
build:
uses: mvslovers/mbt/.github/workflows/build.yml@main
with:
incremental: ${{ github.event_name == 'pull_request' }}
base_sha: ${{ github.event.pull_request.base.sha || '' }}
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Release

on:
push:
tags: ["v*"]

jobs:
release:
uses: mvslovers/mbt/.github/workflows/release.yml@main
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@

# Build artifacts
*.jcl
contrib/
dist/
.build-warnings
.mbt/

# IDE
*.geany
compile_commands.json
.cache/

# Environment
.env
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "contrib/crent370_sdk"]
path = contrib/crent370_sdk
url = git@github.com:mvslovers/crent370_sdk.git
[submodule "mbt"]
path = mbt
url = git@github.com:mvslovers/mbt.git
43 changes: 2 additions & 41 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,41 +1,2 @@
include config.mk

# C source code files
C_FILES := src/lapi.c \
src/lauxlib.c \
src/lbaselib.c \
src/lcode.c \
src/lcorolib.c \
src/ldblib.c \
src/ldebug.c \
src/ldo.c \
src/ldump.c \
src/lfunc.c \
src/lgc.c \
src/linit.c \
src/liolib.c \
src/llex.c \
src/lmathlib.c \
src/lmem.c \
src/loadlib.c \
src/lobject.c \
src/lopcodes.c \
src/loslib.c \
src/lparser.c \
src/lstate.c \
src/lstring.c \
src/lstrlib.c \
src/ltable.c \
src/ltablib.c \
src/ltm.c \
src/lua.c \
src/luac.c \
src/lundump.c \
src/lutf8lib.c \
src/lvm.c \
src/lzio.c

# Assembler source files
A_FILES :=

include rules.mk
MBT_ROOT := mbt
include $(MBT_ROOT)/mk/core.mk
30 changes: 0 additions & 30 deletions config.mk

This file was deleted.

1 change: 0 additions & 1 deletion contrib/crent370_sdk
Submodule crent370_sdk deleted from dfd50a
Empty file removed doc/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions mbt
Submodule mbt added at 74dd3d
41 changes: 41 additions & 0 deletions project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[project]
name = "lua370"
version = "1.0.1-dev"
type = "library"

[build]
cflags = ["-O0", "-DLUA_USE_C89", "-DLUA_USE_JUMPTABLE=0"]

[link]
autocall = false

[mvs.build.datasets.source]
suffix = "SOURCE"
dsorg = "PO"
recfm = "FB"
lrecl = 80
blksize = 19040
space = ["TRK", 100, 50, 50]

[mvs.build.datasets.punch]
suffix = "OBJECT"
dsorg = "PO"
recfm = "FB"
lrecl = 80
blksize = 19040
space = ["TRK", 30, 10, 50]

[mvs.build.datasets.ncalib]
suffix = "NCALIB"
dsorg = "PO"
recfm = "U"
lrecl = 0
blksize = 19069
space = ["TRK", 30, 10, 50]

[dependencies]
"mvslovers/crent370" = ">=1.0.4"

[artifacts]
mvs = true
headers = true
37 changes: 0 additions & 37 deletions rules.mk

This file was deleted.

163 changes: 0 additions & 163 deletions scripts/mvsasm

This file was deleted.