Set it up
- In ReasonOS, choose New project, then Empty repository. Keep it private. Its empty page shows the commands for pushing existing code to it.
-
On your own machine, make a new folder and create the nine files listed
below in it, with exactly these names and contents. Mind the leading dot in
.gitignore. -
In that folder, make the first commit and push it. Replace the example
address in the
git remote addline with your project’s own address, as its empty page shows it:Pushing from your machine uses the SSH key registered under your profile; see Cloning and pushing. -
Open the project’s workspace and check the baseline in its terminal:
Expected: the build succeeds, the tests pass, and line coverage is above the sample’s 80% floor. The sample has no overdue filter yet; the tutorials add it.
The files
This is the sample as the tutorials are written against it.README.md
README.md
.gitignore
.gitignore
go.mod
go.mod
WORKSPACE.rbs
WORKSPACE.rbs
BUILD.rbs
BUILD.rbs
cases.go
cases.go
main.go
main.go
web.go
web.go
cases_test.go
cases_test.go