Skip to content

Commit

Permalink
Remove SPT dependeny on ctree
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Sep 6, 2023
1 parent 65a00c2 commit b478a01
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lwb/metalang/spt/spt/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,18 @@ languageProject {
startSymbol("TestSuite")
}
withStyler()
withStrategoRuntime()
withStrategoRuntime().run {
addStrategyPackageIds("org.metaborg.meta.lang.spt.trans")
addInteropRegisterersByReflection("org.metaborg.meta.lang.spt.trans.InteropRegisterer")
}
}
}
spoofax2BasedLanguageProject {
compilerInput {
withParser()
withStyler()
withStrategoRuntime().run {
copyCtree(true)
copyClasses(false)
copyClasses(true)
}
project.languageSpecificationDependency(GradleDependency.module("org.metaborg.devenv:org.metaborg.meta.lang.spt:${ext["spoofax2DevenvVersion"]}"))
}
Expand Down

0 comments on commit b478a01

Please sign in to comment.