Skip to content

Commit e335d34

Browse files
Mikachu2333ccmywish
authored andcommitted
删除 rawstr4c 多余的rust常量
1 parent 0ff6040 commit e335d34

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

src/recipe/lang/rawstr4c.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ char RAWSTR_pl_java_maven_config[] = "\074\155\151\162\162\157\162\076\012\040\0
1010

1111
char RAWSTR_pl_java_build_gradle[] = "\141\154\154\160\162\157\152\145\143\164\163\040\173\012\040\040\040\040\162\145\160\157\163\151\164\157\162\151\145\163\040\173\012\040\040\040\040\040\040\040\040\155\141\166\145\156\040\173\040\165\162\154\040\047\100\165\162\154\100\047\040\175\012\040\040\040\040\040\040\040\040\155\141\166\145\156\114\157\143\141\154\050\051\012\040\040\040\040\040\040\040\040\155\141\166\145\156\103\145\156\164\162\141\154\050\051\012\040\040\040\040\175\012\175";
1212

13-
char RAWSTR_pl_rust_cargo_config[] = "\133\163\157\165\162\143\145\056\143\162\141\164\145\163\055\151\157\135\012\162\145\160\154\141\143\145\055\167\151\164\150\040\075\040\047\155\151\162\162\157\162\047\012\012\133\163\157\165\162\143\145\056\155\151\162\162\157\162\135\012\162\145\147\151\163\164\162\171\040\075\040\042\163\160\141\162\163\145\053\100\165\162\154\100\042";
14-
15-
char RAWSTR_pl_rust_cargo_check_config[] = "\147\162\145\160\040\055\161\040\047\136\134\133\163\157\165\162\143\145\134\056\143\162\141\164\145\163\055\151\157\134\135\047\040\100\146\100";
16-
17-
char RAWSTR_pl_rust_cargo_update_replace_with[] = "\100\163\145\144\100\040\047\057\136\134\133\163\157\165\162\143\145\134\056\143\162\141\164\145\163\055\151\157\134\135\044\057\054\057\136\134\133\057\173\163\057\136\162\145\160\154\141\143\145\055\167\151\164\150\040\075\040\056\052\057\162\145\160\154\141\143\145\055\167\151\164\150\040\075\040\042\155\151\162\162\157\162\042\057\175\047\040\100\146\100";
18-
19-
char RAWSTR_pl_rust_cargo_update_registry[] = "\100\163\145\144\100\040\047\057\136\134\133\163\157\165\162\143\145\134\056\155\151\162\162\157\162\134\135\044\057\054\057\136\134\133\057\173\163\174\136\162\145\147\151\163\164\162\171\040\075\040\056\052\174\162\145\147\151\163\164\162\171\040\075\040\042\163\160\141\162\163\145\053\100\165\162\154\100\042\174\175\047\040\100\146\100";
13+
char RAWSTR_pl_rust_cargo_config[] = "\133\163\157\165\162\143\145\056\143\162\141\164\145\163\055\151\157\135\012\162\145\160\154\141\143\145\055\167\151\164\150\040\075\040\042\155\151\162\162\157\162\042\012\012\133\163\157\165\162\143\145\056\155\151\162\162\157\162\135\012\162\145\147\151\163\164\162\171\040\075\040\042\163\160\141\162\163\145\053\100\165\162\154\100\042\012";
2014

2115
char RAWSTR_pl_haskell_cabal_config[] = "\162\145\160\157\163\151\164\157\162\171\040\155\151\162\162\157\162\012\040\040\165\162\154\072\040\100\165\162\154\100\012\040\040\163\145\143\165\162\145\072\040\124\162\165\145";
2216

src/recipe/lang/rawstr4c.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -75,34 +75,11 @@ allprojects {
7575

7676
```toml
7777
[source.crates-io]
78-
replace-with = 'mirror'
78+
replace-with = "mirror"
7979

8080
[source.mirror]
8181
registry = "sparse+@url@"
82-
```
83-
84-
### cargo check config
85-
86-
- name = `cargo_check_config`
87-
88-
```bash
89-
grep -q '^\[source\.crates-io\]' @f@
90-
```
91-
92-
### cargo update replace-with
93-
94-
- name = `cargo_update_replace_with`
95-
96-
```bash
97-
@sed@ '/^\[source\.crates-io\]$/,/^\[/{s/^replace-with = .*/replace-with = "mirror"/}' @f@
98-
```
99-
100-
### cargo update registry
101-
102-
- name = `cargo_update_registry`
10382

104-
```bash
105-
@sed@ '/^\[source\.mirror\]$/,/^\[/{s|^registry = .*|registry = "sparse+@url@"|}' @f@
10683
```
10784

10885
<br>

0 commit comments

Comments
 (0)