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
4 changes: 4 additions & 0 deletions .codesandbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CodeSandbox supports debian & ubuntu based images
FROM elixir:1.14

RUN mix local.hex --force && mix local.rebar --force
18 changes: 18 additions & 0 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Get Dependencies",
"command": "mix deps.get"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"test": {
"name": "Run Tests",
"command": "mix test",
"runAtStart": true
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ any reasons why things _shouldn't_ work as expected on other operating systems,

```elixir
Sketch.new()
|> Sketch.set_fill({100, 100, 100})
|> Sketch.fill({100, 100, 100})
|> Sketch.square(%{origin: {0, 0}, size: 50})
|> Sketch.run()
```
Expand Down