Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
azahnen committed Jan 7, 2025
1 parent 2566256 commit 148ae60
Show file tree
Hide file tree
Showing 19 changed files with 608 additions and 20 deletions.
10 changes: 5 additions & 5 deletions libxtracfg/js/types/index.ts → libxtracfg/.ts2x/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from "path";

import { generate } from "./ts2x/index.ts";
import { generate } from "ts2x/src/index.ts";
import { onClass, onNamespace, getAdditional } from "./java.ts";

//TODO: restructure -> xtracfg/bin, xtracfg/lib/*, gen in root?
Expand All @@ -9,15 +9,15 @@ generate({
source: resolve("./src/index.ts"),
verbose: false,
schema: {
basePath: "./src/gen",
basePath: "../js/xtracfg/src/gen",
},
go: {
basePath: "../../go",
basePath: "../go",
pkg: "gen",
filePrefixes: { Command: "cmd-", Options: "opts-", Result: "res-" },
},
java: {
basePath: "../../java/src/main/java",
basePath: "../java/src/main/java",
pkg: "de.ii.xtraplatform.cli.gen",
classSuffixes: ["Command", "Options", "Result"],
additionalClasses: getAdditional("de.ii.xtraplatform.cli.gen"),
Expand All @@ -27,6 +27,6 @@ generate({
},
},
ts: {
basePath: "./src/gen",
basePath: "../js/xtracfg/src/gen",
},
});
File renamed without changes.
Loading

0 comments on commit 148ae60

Please sign in to comment.