From 4edbee14bdb1c0451ccc31ae7b58c93f4eed58ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergej=20Ko=C5=A1=C4=8Dejev?= Date: Fri, 5 Aug 2022 12:57:21 +0200 Subject: [PATCH 1/4] Improve build scripts * Remove unnecessary dependency on IDEA and MPS build scripts other than `mps`. * Set Java compliance level to 11 in tests. * Add missing plugin to layout. * Mark a test solution as containing tests. --- .../models/de.itemis.mps.extensions.build.mps | 43 +++---------------- 1 file changed, 7 insertions(+), 36 deletions(-) diff --git a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps index 98b69c0eb..de9d77337 100644 --- a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps +++ b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps @@ -72,10 +72,6 @@ - - - - @@ -561,7 +557,7 @@ - + @@ -13691,18 +13687,6 @@ - - - - - - - - - - - - @@ -13744,6 +13728,10 @@ + + + + @@ -14078,7 +14066,7 @@ - + @@ -16244,6 +16232,7 @@ + @@ -18737,24 +18726,6 @@ - - - - - - - - - - - - - - - - - - From dc07bb5397d7c5321f9b104c9e41574b520e24d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergej=20Ko=C5=A1=C4=8Dejev?= Date: Fri, 5 Aug 2022 13:01:03 +0200 Subject: [PATCH 2/4] Set compiler to IntelliJ to verify @NotNull annotations at run time --- .../models/de.itemis.mps.extensions.build.mps | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps index de9d77337..46249701f 100644 --- a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps +++ b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps @@ -57,6 +57,7 @@ + @@ -13625,6 +13626,7 @@ + @@ -13639,6 +13641,12 @@ + + + + + + @@ -14067,6 +14075,7 @@ + @@ -18610,6 +18619,12 @@ + + + + + + From eeca052cca962a2bb2dc8302b88f51caad97b0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergej=20Ko=C5=A1=C4=8Dejev?= Date: Fri, 5 Aug 2022 13:10:10 +0200 Subject: [PATCH 3/4] Ignore kotlin-js-store --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 4afc179e9..92409757a 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,6 @@ model-api/build code/model-api/org.modelix.model.api/lib scripts/.mps-caches .idea/modules + +# Generated during the build +/kotlin-js-store/ From 79143322dc21f77614c1166d297fdb817413686a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergej=20Ko=C5=A1=C4=8Dejev?= Date: Fri, 5 Aug 2022 13:42:27 +0200 Subject: [PATCH 4/4] Fix test --- .../models/org.modelix.model.mpsadapters.mps.mps | 2 +- ...lix.model.mpsadapters.wrappingmodelapi@tests.mps | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/code/model-api/org.modelix.model.mpsadapters/models/org.modelix.model.mpsadapters.mps.mps b/code/model-api/org.modelix.model.mpsadapters/models/org.modelix.model.mpsadapters.mps.mps index a3b361f84..d55688176 100644 --- a/code/model-api/org.modelix.model.mpsadapters/models/org.modelix.model.mpsadapters.mps.mps +++ b/code/model-api/org.modelix.model.mpsadapters/models/org.modelix.model.mpsadapters.mps.mps @@ -15511,7 +15511,7 @@ - + diff --git a/code/model-api/test.org.modelix.model.mpsadapters/models/test.org.modelix.model.mpsadapters.wrappingmodelapi@tests.mps b/code/model-api/test.org.modelix.model.mpsadapters/models/test.org.modelix.model.mpsadapters.wrappingmodelapi@tests.mps index b1ed4d851..3a4814ce5 100644 --- a/code/model-api/test.org.modelix.model.mpsadapters/models/test.org.modelix.model.mpsadapters.wrappingmodelapi@tests.mps +++ b/code/model-api/test.org.modelix.model.mpsadapters/models/test.org.modelix.model.mpsadapters.wrappingmodelapi@tests.mps @@ -1465,17 +1465,6 @@ - - - - - - - - - - - @@ -1556,7 +1545,7 @@ - +