forked from iemafzalhassan/retail-store-sample-app
-
Notifications
You must be signed in to change notification settings - Fork 560
Expand file tree
/
Copy pathproject.json
More file actions
55 lines (55 loc) · 1.27 KB
/
project.json
File metadata and controls
55 lines (55 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "catalog",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "src/catalog",
"targets": {
"build": {
"executor": "nx:run-commands",
"cache": true,
"inputs": ["{projectRoot}/**/*", "!{projectRoot}/dist/*"],
"outputs": ["{projectRoot}/dist/*"],
"options": {
"command": "go build -o dist/main main.go"
}
},
"test": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"options": {
"command": "exit 0"
}
},
"test:integration": {
"executor": "nx:run-commands",
"dependsOn": ["test"],
"cache": true,
"inputs": ["{projectRoot}/**/*"],
"options": {
"command": "go test -v ./test/..."
}
},
"lint": {
"executor": "nx:run-commands",
"options": {
"command": "exit 0"
}
},
"serve": {
"executor": "nx:run-commands",
"options": {
"command": "go run main.go"
}
},
"manifest": {},
"helm": {},
"update-samples": {
"executor": "nx:run-commands",
"options": {
"cwd": "src/catalog",
"command": "cp ../../samples/data/* repository"
}
}
},
"tags": ["service", "chart", "sample"]
}