Skip to content

Commit 5cab899

Browse files
Ref: Add Claude task (#5602)
* add claude task * launch claude task
1 parent e13aa6a commit 5cab899

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ node_modules.bak
9595
# SwiftLint
9696
swiftlint/*
9797

98-
# Sample app
98+
# Environment variables
9999
samples/*/.env
100+
.env
100101

101102
# Local Claude Code settings that should not be committed
102103
.claude/settings.local.json

.vscode/tasks.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,25 @@
1313
"kind": "build",
1414
"isDefault": true
1515
}
16+
},
17+
{
18+
"label": "Claude",
19+
"type": "shell",
20+
"command": "CLAUDE_PATH=$(grep '^CLAUDE_PATH=' .env | cut -d '=' -f2 | tr -d '\"') && $CLAUDE_PATH",
21+
"icon": {
22+
"color": "terminal.ansiRed",
23+
"id": "robot"
24+
},
25+
"presentation": {
26+
"reveal": "always",
27+
"panel": "new",
28+
"focus": true
29+
},
30+
"group": {
31+
"kind": "none",
32+
"isDefault": true
33+
},
34+
"problemMatcher": []
1635
}
1736
]
1837
}

0 commit comments

Comments
 (0)