You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,6 @@ TCR stands for "test && commit || revert," a challenging and fun development wor
15
15
-[Temporary Bypass](#temporary-bypass)
16
16
-[References](#references)
17
17
18
-
## How to Set It Up
19
-
20
-
Clone this repo. Then in Xcode, open Settings and go to the Behaviors tab.
21
-
22
-
Under "Testing Succeeds" scroll down until you see a "Run" option. Select the `tcr-commit.sh` script.
23
-
If you want it to also push, select `tcr-commit-and-push.sh` instead.
24
-
25
-

26
-
27
-
Under "Testing Fails" set the "Run" to the `tcr-revert.sh` script.
28
-
29
-

30
-
31
18
## What It Does
32
19
33
20
Upon a successful test run, the commit script shows a dialog asking you for a commit message. Enter your commit message and press enter, and it will commit your changes.
@@ -46,6 +33,19 @@ To bypass TCR, deselect the Run script in the Testing Fails behaviors. This will
46
33
47
34
You can keep the Run script in place for Testing Succeeds. If you leave the commit message blank, it won't make a commit.
48
35
36
+
## How to Set It Up
37
+
38
+
Clone this repo. Then in Xcode, open Settings and go to the Behaviors tab.
39
+
40
+
Under "Testing Succeeds" scroll down until you see a "Run" option. Select the `tcr-commit.sh` script.
41
+
If you want it to also push, select `tcr-commit-and-push.sh` instead.
42
+
43
+

44
+
45
+
Under "Testing Fails" set the "Run" to the `tcr-revert.sh` script.
46
+
47
+

48
+
49
49
## References
50
50
51
51
-[test && commit || revert](https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864) original article by Kent Beck
0 commit comments