Skip to content

Commit 1d90bdb

Browse files
committed
start migration to leetkick
1 parent 489bfa6 commit 1d90bdb

File tree

3 files changed

+49
-46
lines changed

3 files changed

+49
-46
lines changed

.gitignore

Lines changed: 18 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,22 @@
1+
# Dependencies
2+
node_modules/
3+
target/
4+
__pycache__/
5+
*.pyc
6+
7+
# IDE
8+
.vscode/
9+
.idea/
10+
*.swp
11+
*.swo
12+
13+
# OS
114
.DS_Store
2-
# Prerequisites
3-
*.d
15+
Thumbs.db
416

5-
# Compiled Object files
6-
*.slo
7-
*.lo
17+
# Build outputs
18+
dist/
19+
build/
20+
*.class
821
*.o
9-
*.obj
10-
11-
# Precompiled Headers
12-
*.gch
13-
*.pch
14-
15-
# Compiled Dynamic libraries
16-
*.so
17-
*.dylib
18-
*.dll
19-
*.dSYM.zip
20-
*.dSYM
21-
22-
# Fortran module files
23-
*.mod
24-
*.smod
25-
26-
# Compiled Static libraries
27-
*.lai
28-
*.la
29-
*.a
30-
*.lib
31-
32-
# Executables
3322
*.exe
34-
*.out
35-
*.app
36-
37-
# Ignore all bazel-* symlinks. There is no full list since this can change
38-
# based on the name of the directory bazel is cloned into.
39-
bazel-*
40-
41-
node_modules
42-
compile_commands.json

.leetkick.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"version": "0.1.0",
3+
"createdAt": "2025-08-01T01:26:32.523Z"
4+
}

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
1-
# Leetcode
2-
Leetcode exercises
1+
# LeetCode Practice Workspace
32

4-
### Run TypeScript Tests
5-
`bazel test --test_output=all //typescript:ts_tests`
3+
This workspace was created with [leetkick](https://github.com/charliesbot/leetkick) - a CLI tool for organizing LeetCode practice.
64

7-
### Run C++ Tests
8-
`bazel test --test_output=all //cpp:tests`
5+
## Usage
96

10-
### Generate Compilation Database (for better autocomplete)
11-
`./generate_compilation_db.sh`
7+
### Fetch a new problem
8+
```bash
9+
leetkick fetch two-sum --language typescript
10+
```
11+
12+
### Run tests
13+
```bash
14+
leetkick test 1 --language typescript
15+
leetkick test two-sum --language typescript
16+
```
17+
18+
### Add a new language
19+
```bash
20+
leetkick add python
21+
```
22+
23+
## Commands
24+
25+
- `leetkick init` - Initialize empty workspace
26+
- `leetkick add <language>` - Add language workspace
27+
- `leetkick fetch <problem> --language <lang>` - Fetch problem
28+
- `leetkick test <problem> --language <lang>` - Run tests
29+
30+
Happy coding! 🚀

0 commit comments

Comments
 (0)