Skip to content
Snippets Groups Projects
Commit 237ff029 authored by René Schöne's avatar René Schöne
Browse files

Simplify and fix ragdoc.

parent a8fea154
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ import { Location } from '@angular/common';
],
})
export class AppComponent implements OnInit {
title = 'OpenLicht Eraser Documentation';
title = 'StateMachine Example Documentation';
showMenu = false;
packages : Package[];
filter = '';
......
../../statemachine.base/build/docs/ragdoc/
\ No newline at end of file
......@@ -28,11 +28,6 @@ sourceSets {
}
}
task cleanRagdoc(type: Delete) {
group = 'documentation'
new File(docsDir, 'ragdoc').deleteDir()
}
dependencies {
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jackson_version}"
implementation group: 'net.sf.beaver', name: 'beaver-rt', version: '0.9.11'
......@@ -152,25 +147,6 @@ jastadd {
jastaddOptions = ['--List=JastAddList']
}
String[] arguments = ["../libs/rd-builder.jar", "-d", "doc/"]
def allSrcFiles = sourceSets.main.allSource.findAll { it.name.endsWith('java') }.toArray()
def ragdocViewSrcData = '../ragdoc-view/src/data/'
//task ragdoc(type: JavaExec, dependsOn: assemble, overwrite: true) {
// group = 'documentation'
// description = 'Create ragdoc json documentation files'
// main = "-jar"
// args arguments + allSrcFiles
//}
task copyRagdoc(type: Copy, dependsOn: cleanRagdoc) {
group = 'documentation'
description = 'Copy ragdoc json documentation files to ragdoc-viewer'
from 'doc/'
into ragdocViewSrcData
eachFile { println it.file }
}
preprocess.dependsOn ecoreToRelast
generateAst.dependsOn preprocess
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment