Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10,584 changes: 10,584 additions & 0 deletions .log

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ We're hoping this challenge will help you demonstrate that you are able to learn
If you find that the test harness is doing something wrong, or you're completely stuck on how to solve something, file an issue against this repo. If you can send a pull request to improve the test harness that would be even better.

(Please don't judge the quality of the code in host.go too harshly; it was written in a hurry with a lot of ⸢help⸣ from a four year old. We'll try to clean it up in the future.)

Sample message
4 changes: 2 additions & 2 deletions host.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ func runTests(port int) error {
result.test = t
if result.err != nil {
failCount++
log.Print(color.RedString("test %s failed: %s"), t.name(), result.err)
log.Printf(color.RedString("test %s failed: %s"), t.name(), result.err)
} else {
log.Print(color.GreenString("test %s passed"), t.name())
log.Printf(color.GreenString("test %s passed"), t.name())
}
results = append(results, result)
}
Expand Down
1 change: 1 addition & 0 deletions plugin/node/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/*
17 changes: 17 additions & 0 deletions plugin/node/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Solution: Node Plugin

Solution to the problem written in node.

### Running Solution

To run the solution it requires [node](https://nodejs.org/en/) version 8.12.0+ to be installed.

To install the required node modules, run this command inside the /plugin/node directory.
```bash
npm install
```

To run the host and test the plugin run this command in the root directory of the project.
```bash
go run host.go node "$PWD\plugin\node\plugin.js"
```
Loading