Skip to content

Commit

Permalink
change starter structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Jul 11, 2024
1 parent 72243e2 commit 3953d7f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 127 deletions.
127 changes: 0 additions & 127 deletions starter-repository-definitions.yml
Original file line number Diff line number Diff line change
@@ -1,159 +1,32 @@
- language: c
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/c/app/main.c
target: app/main.c
- source: starter_templates/c/Dockerfile
target: Dockerfile
- source: starter_templates/c/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "gcc"
user_editable_file: "app/main.c"

- language: go
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/go/app/main.go
target: app/main.go
- source: starter_templates/go/go.mod
target: go.mod
- source: starter_templates/go/go.sum
target: go.sum
- source: starter_templates/go/Dockerfile
target: Dockerfile
- source: starter_templates/go/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "go"
user_editable_file: "app/main.go"

- language: php
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/php/app/main.php
target: app/main.php
- source: starter_templates/php/Dockerfile
target: Dockerfile
- source: starter_templates/php/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "php (7.4)"
user_editable_file: "app/main.php"

- language: nim
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/nim/app/main.nim
target: app/main.nim
- source: starter_templates/nim/Dockerfile
target: Dockerfile
- source: starter_templates/nim/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "nim (1.0)"
user_editable_file: "app/main.nim"

- language: python
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/python/app/main.py
target: app/main.py
- source: starter_templates/python/Dockerfile
target: Dockerfile
- source: starter_templates/python/your_docker.sh
target: your_docker.sh
- source: starter_templates/python/.gitignore
target: .gitignore
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "python (3.x)"
user_editable_file: "app/main.py"

- language: rust
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/rust/.gitignore
target: .gitignore
- source: starter_templates/rust/src/main.rs
target: src/main.rs
- source: starter_templates/rust/Cargo.toml
target: Cargo.toml
- source: starter_templates/rust/Cargo.lock
target: Cargo.lock
- source: starter_templates/rust/Dockerfile
target: Dockerfile
- source: starter_templates/rust/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "cargo (1.54)"
user_editable_file: "src/main.rs"

- language: swift
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/swift/.gitignore
target: .gitignore
- source: starter_templates/swift/Sources/swift-docker-challenge/Main.swift
target: Sources/swift-docker-challenge/Main.swift
- source: starter_templates/swift/Package.swift
target: Package.swift
- source: starter_templates/swift/Dockerfile
target: Dockerfile
- source: starter_templates/swift/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "swift"
user_editable_file: "Sources/swift-docker-challenge/Main.swift"

- language: ruby
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/ruby/app/main.rb
target: app/main.rb
- source: starter_templates/ruby/Dockerfile
target: Dockerfile
- source: starter_templates/ruby/your_docker.sh
target: your_docker.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "ruby (2.7)"
user_editable_file: "app/main.rb"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3953d7f

Please sign in to comment.