Commit 762f604
authored
Add genrules to Example project (#19)
* Add an example GenerateDummySwiftFile genrule
This genrule actually breaks indexing! You can see SourceKit LSP tries to index the genrule itself...
[11:02:04 AM] 🟨🟫⬛️ Indexing /Users/.../sourcekit-bazel-bsp/Example/HelloWorld/GenerateDummySwiftFile
[11:02:04 AM] 🟨🟫⬛️ clang: error: no input files
[11:02:04 AM] 🟨🟫⬛️ Finished with exit code 1 in 0.00619425 seconds
I'm not sure how to fix this — any help would be appreciated, thanks!
* Update HelloWorld to use 'expand_template_rule'
Add another example that causing this indexing error to occur
[11:16:39 AM] 🟪🟩⬛️ clang: error: no input files
[11:16:39 AM] 🟨⬜️🟨 clang: error: no input files
[11:16:39 AM] 🟪🟩⬛️ Finished with exit code 1 in 0.009771333 seconds
[11:16:39 AM] 🟨⬜️🟨 Finished with exit code 1 in 0.00974475 seconds1 parent 95915f2 commit 762f604
File tree
4 files changed
+472
-2
lines changed- Example
- HelloWorld
4 files changed
+472
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
38 | 66 | | |
39 | 67 | | |
40 | 68 | | |
41 | 69 | | |
42 | | - | |
| 70 | + | |
43 | 71 | | |
44 | 72 | | |
45 | 73 | | |
| |||
64 | 92 | | |
65 | 93 | | |
66 | 94 | | |
67 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
68 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
0 commit comments