Skip to content

Commit 8c10768

Browse files
authored
fix: NO-JIRA dialtone icons android build (#691)
Signed-off-by: Julio Ortega <julio.ortega@dialpad.com>
1 parent 0027ba7 commit 8c10768

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

packages/dialtone-icons/project.json

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"name": "dialtone-icons",
33
"targets": {
4-
"build": {
4+
"pre-build": {
55
"executor": "nx:run-commands",
66
"options": {
77
"cwd": "{projectRoot}",
8-
"commands": [
9-
"pnpm exec gulp",
10-
"nx run-many --target=build --projects=dialtone-icons-vue2,dialtone-icons-vue3 --parallel=2 --output-style=stream"
11-
],
12-
"parallel": false
8+
"command": "pnpm exec gulp"
139
},
1410
"inputs": [
1511
"{projectRoot}/src/**/*",
@@ -19,13 +15,28 @@
1915
"outputs": [
2016
"{projectRoot}/src/icons",
2117
"{projectRoot}/src/illustrations",
22-
"{projectRoot}/dist",
18+
"{projectRoot}/dist"
19+
]
20+
},
21+
"build": {
22+
"dependsOn": ["pre-build"],
23+
"executor": "nx:run-commands",
24+
"options": {
25+
"cwd": "{projectRoot}",
26+
"command": "nx run-many --target=build --projects=dialtone-icons-vue2,dialtone-icons-vue3 --parallel=2 --output-style=stream"
27+
},
28+
"inputs": [
29+
"{projectRoot}/src/**/*",
30+
"{projectRoot}/transformSVGtoVue.cjs",
31+
"{projectRoot}/gulpfile.cjs"
32+
],
33+
"outputs": [
2334
"{projectRoot}/vue2/dist",
2435
"{projectRoot}/vue3/dist"
2536
]
2637
},
2738
"build:android": {
28-
"dependsOn": ["dialtone-icons-android:build"],
39+
"dependsOn": ["pre-build", "dialtone-icons-android:build"],
2940
"executor": "nx:run-commands",
3041
"options": {
3142
"cwd": "{projectRoot}/android",

0 commit comments

Comments
 (0)