Set Neitzel FX Designer version to 0.1.0
This commit is contained in:
@@ -23,11 +23,11 @@ def run(command):
|
||||
wrapper = ROOT / ("mvnw.cmd" if os.name == "nt" else "mvnw")
|
||||
run([sys.executable, ROOT / "scripts/check-neitzellib-artifact.py"])
|
||||
run([wrapper, "-B", "-ntp", "clean", "install"])
|
||||
run([wrapper, "-B", "-ntp", "-pl", "designer-target-tools", "org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath", "-DincludeScope=runtime", "-Dmdep.outputFile=target/runtime-classpath.txt"])
|
||||
run([wrapper, "-B", "-ntp", "-pl", "designer-target-tools", "org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath", "-DincludeScope=test", "-Dmdep.outputFile=target/runtime-classpath.txt"])
|
||||
for module in ("contracts", "model-processor", "preview-api", "core", "kit-ui", "standalone", "target-tools", "maven-plugin"):
|
||||
name = "designer-" + module
|
||||
expected = 69
|
||||
with zipfile.ZipFile(ROOT / name / "target" / (name + "-0.1.0-SNAPSHOT.jar")) as jar:
|
||||
with zipfile.ZipFile(ROOT / name / "target" / (name + "-0.1.0.jar")) as jar:
|
||||
classes = [n for n in jar.namelist() if n.endswith(".class")]
|
||||
assert classes, name
|
||||
assert all(int.from_bytes(jar.read(n)[6:8], "big") == expected for n in classes), name
|
||||
|
||||
Reference in New Issue
Block a user