This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RUN mkdir /root/Scribble-Server | |
| ADD Tests /root/Scribble-Server/Tests | |
| ADD Package.swift /root/Scribble-Server | |
| ADD Package.resolved /root/Scribble-Server | |
| # Add a dummy file for resolving dependencies and pre-building first | |
| ADD Sources/DummyForDependencies/main.swift /root/Scribble-Server/Sources/ScribbleServer/main.swift | |
| ADD Sources/DummyForDependencies/DummyModel.swift /root/Scribble-Server/Sources/CanvasModel/DummyModel.swift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "strings" | |
| ) | |
| func main() { | |
| f, err := os.Create("/tmp/dat2") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| #include <netinet/ip.h> | |
| #include <string.h> | |
| #include <errno.h> | |
| #include <unistd.h> | |
| int main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - language: clojure | |
| file_mappings: | |
| - source: starter_templates/README.md | |
| target: README.md | |
| - source: starter_templates/codecrafters.yml | |
| target: codecrafters.yml | |
| - source: starter_templates/clojure/.gitignore | |
| target: .gitignore | |
| - source: starter_templates/clojure/project.clj | |
| target: project.clj |
OlderNewer