rhkp commented on code in PR #2697:
URL:
https://github.com/apache/incubator-kie-tools/pull/2697#discussion_r1823256866
##########
packages/kogito-db-migrator-tool/package.json:
##########
@@ -0,0 +1,38 @@
+{
+ "private": true,
+ "name": "@kie-tools/kogito-db-migrator-tool",
+ "version": "0.0.0",
+ "description": "",
+ "license": "Apache-2.0",
+ "homepage": "https://github.com/apache/incubator-kie-tools",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/apache/incubator-kie-tools.git"
+ },
+ "bugs": {
+ "url": "https://github.com/apache/incubator-kie-tools/issues"
+ },
+ "scripts": {
+ "build:dev": "pnpm pre-build && mvn clean install -DskipTests
-Dquarkus.package.type=uber-jar && pnpm drop-jar && pnpm cleanup-ddl-dirs",
+ "build:prod": "pnpm pre-build && mvn clean install -DskipTests=$(build-env
tests.run --not) -Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures)
-Dquarkus.package.type=uber-jar && pnpm drop-jar && pnpm cleanup-ddl-dirs",
+ "cleanup": "pnpm cleanup-drop-jar && pnpm cleanup-ddl-dirs",
+ "cleanup-ddl-dirs": "rimraf src/main/resources/ansi && rimraf
src/main/resources/postgresql",
+ "cleanup-drop-jar": "rimraf /tmp/kogito-db-migrator-tool/ && mkdir -p
/tmp/kogito-db-migrator-tool",
+ "drop-jar": "cp target/sonataflow-db-migrator-0.0.0-runner.jar
/tmp/kogito-db-migrator-tool",
Review Comment:
As conveyed by @ricardozanini we are now using target directory instead of
/tmp directory.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]