Ver código fonte

Inline the exercise README insert (#1290)

* Regenerate exercise READMEs to pick up tweaks to problem description

The upstream problem specifications have been updated with various
formatting changes, whitespace changes, and clarifications to the description.

This pulls in all the recent changes.

* Inline the exercise README insert

Now that we're operating with a track-wide template for generating exercise
READMEs we no longer need a separate markdown document to use for hints
and instructions that apply to all the exercises in a track. These instructions
can be defined directly in the template.
Katrina Owen 8 anos atrás
pai
commit
e7f5c3677d

+ 0
- 9
config/exercise-readme-insert.md Ver arquivo

1
-# Running the tests
2
-
3
-You can run all the tests for an exercise by entering
4
-
5
-```sh
6
-$ gradle test
7
-```
8
-
9
-in your terminal.

+ 10
- 4
config/exercise_readme.go.tmpl Ver arquivo

6
 
6
 
7
 {{ . }}
7
 {{ . }}
8
 {{ end }}
8
 {{ end }}
9
-{{- with .TrackInsert }}
10
-{{ . }}
11
-{{ end }}
12
-{{- with .Spec.Credits -}}
9
+# Running the tests
10
+
11
+You can run all the tests for an exercise by entering
12
+
13
+```sh
14
+$ gradle test
15
+```
16
+
17
+in your terminal.
18
+{{ with .Spec.Credits }}
13
 ## Source
19
 ## Source
14
 
20
 
15
 {{ . }}
21
 {{ . }}

+ 0
- 1
exercises/all-your-base/README.md Ver arquivo

41
 
41
 
42
 in your terminal.
42
 in your terminal.
43
 
43
 
44
-
45
 ## Submitting Incomplete Solutions
44
 ## Submitting Incomplete Solutions
46
 
45
 
47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
46
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/alphametics/README.md Ver arquivo

41
 
41
 
42
 in your terminal.
42
 in your terminal.
43
 
43
 
44
-
45
 ## Submitting Incomplete Solutions
44
 ## Submitting Incomplete Solutions
46
 
45
 
47
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
46
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/bank-account/README.md Ver arquivo

50
 
50
 
51
 in your terminal.
51
 in your terminal.
52
 
52
 
53
-
54
 ## Submitting Incomplete Solutions
53
 ## Submitting Incomplete Solutions
55
 
54
 
56
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
55
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/custom-set/README.md Ver arquivo

17
 
17
 
18
 in your terminal.
18
 in your terminal.
19
 
19
 
20
-
21
 ## Submitting Incomplete Solutions
20
 ## Submitting Incomplete Solutions
22
 
21
 
23
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
22
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 11
exercises/forth/README.md Ver arquivo

25
 
25
 
26
 Words are case-insensitive.
26
 Words are case-insensitive.
27
 
27
 
28
-# Running the tests
29
-
30
-You can run all the tests for an exercise by entering
31
-
32
-```sh
33
-$ gradle test
34
-```
35
-
36
-in your terminal.
37
-
38
-
39
 ## Submitting Incomplete Solutions
28
 ## Submitting Incomplete Solutions
40
 
29
 
41
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
30
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/list-ops/README.md Ver arquivo

27
 
27
 
28
 in your terminal.
28
 in your terminal.
29
 
29
 
30
-
31
 ## Submitting Incomplete Solutions
30
 ## Submitting Incomplete Solutions
32
 
31
 
33
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
32
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/markdown/README.md Ver arquivo

24
 
24
 
25
 in your terminal.
25
 in your terminal.
26
 
26
 
27
-
28
 ## Submitting Incomplete Solutions
27
 ## Submitting Incomplete Solutions
29
 
28
 
30
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
29
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/minesweeper/README.md Ver arquivo

36
 
36
 
37
 in your terminal.
37
 in your terminal.
38
 
38
 
39
-
40
 ## Submitting Incomplete Solutions
39
 ## Submitting Incomplete Solutions
41
 
40
 
42
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
41
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/parallel-letter-frequency/README.md Ver arquivo

26
 
26
 
27
 in your terminal.
27
 in your terminal.
28
 
28
 
29
-
30
 ## Submitting Incomplete Solutions
29
 ## Submitting Incomplete Solutions
31
 
30
 
32
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
31
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/rectangles/README.md Ver arquivo

73
 
73
 
74
 in your terminal.
74
 in your terminal.
75
 
75
 
76
-
77
 ## Submitting Incomplete Solutions
76
 ## Submitting Incomplete Solutions
78
 
77
 
79
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
78
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/sublist/README.md Ver arquivo

27
 
27
 
28
 in your terminal.
28
 in your terminal.
29
 
29
 
30
-
31
 ## Submitting Incomplete Solutions
30
 ## Submitting Incomplete Solutions
32
 
31
 
33
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
32
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 0
- 1
exercises/tournament/README.md Ver arquivo

74
 
74
 
75
 in your terminal.
75
 in your terminal.
76
 
76
 
77
-
78
 ## Submitting Incomplete Solutions
77
 ## Submitting Incomplete Solutions
79
 
78
 
80
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
79
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.

+ 1
- 1
exercises/two-fer/README.md Ver arquivo

66
 
66
 
67
 ## Source
67
 ## Source
68
 
68
 
69
-This is an exercise to introduce users to basic programming constructs, just after Hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer)
69
+[https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer)
70
 
70
 
71
 ## Submitting Incomplete Solutions
71
 ## Submitting Incomplete Solutions
72
 
72
 

+ 0
- 1
exercises/word-search/README.md Ver arquivo

36
 
36
 
37
 in your terminal.
37
 in your terminal.
38
 
38
 
39
-
40
 ## Submitting Incomplete Solutions
39
 ## Submitting Incomplete Solutions
41
 
40
 
42
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.
41
 It's possible to submit an incomplete solution so you can see how others have completed the exercise.