2021-02-21 18:55:06 +01:00
|
|
|
|
|
|
|
import { join as pathJoin } from "path";
|
2021-02-21 21:27:42 +01:00
|
|
|
import { generateKeycloakThemeResources } from "../bin/build-keycloak-theme/generateKeycloakThemeResources";
|
2021-02-21 20:54:33 +01:00
|
|
|
import { setupSampleReactProject } from "./setupSampleReactProject";
|
2021-02-21 18:55:06 +01:00
|
|
|
|
2021-02-21 20:54:33 +01:00
|
|
|
const { sampleReactProjectDirPath } = setupSampleReactProject();
|
2021-02-21 18:55:06 +01:00
|
|
|
|
|
|
|
generateKeycloakThemeResources({
|
|
|
|
"themeName": "onyxia-ui",
|
2021-02-21 20:54:33 +01:00
|
|
|
"reactAppBuildDirPath": pathJoin(sampleReactProjectDirPath, "build"),
|
|
|
|
"keycloakThemeBuildingDirPath": pathJoin(sampleReactProjectDirPath, "build_keycloak_theme")
|
2021-02-21 18:55:06 +01:00
|
|
|
});
|
|
|
|
|