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 5bb46e9 commit 33d9db4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 181 deletions.
181 changes: 0 additions & 181 deletions starter-repository-definitions.yml
Original file line number Diff line number Diff line change
@@ -1,221 +1,40 @@
- 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/Pipfile
target: Pipfile
- source: starter_templates/python/Pipfile.lock
target: Pipfile.lock
- source: starter_templates/python/.gitignore
target: .gitignore
- source: starter_templates/python/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "python (3.11)"
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/src/main.rs
target: src/main.rs
- source: starter_templates/rust/.gitignore
target: .gitignore
- source: starter_templates/rust/Cargo.toml
target: Cargo.toml
- source: starter_templates/rust/Cargo.lock
target: Cargo.lock
- source: starter_templates/rust/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "cargo (1.62)"
user_editable_file: "src/main.rs"

- language: go
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/go/your_grep.sh
target: your_grep.sh
- source: starter_templates/go/go.mod
target: go.mod
- source: starter_templates/go/go.sum
target: go.sum
- source: starter_templates/go/cmd/mygrep/main.go
target: cmd/mygrep/main.go
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "go (1.19)"
user_editable_file: "cmd/mygrep/main.go"

- language: haskell
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/haskell/.gitignore
target: .gitignore
- source: starter_templates/haskell/package.yaml
target: package.yaml
- source: starter_templates/haskell/stack.yaml
target: stack.yaml
- source: starter_templates/haskell/stack.yaml.lock
target: stack.yaml.lock
- source: starter_templates/haskell/app/Main.hs
target: app/Main.hs
- source: starter_templates/haskell/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "stack"
user_editable_file: "app/Main.hs"

- 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/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
- source: starter_templates/ruby/Gemfile
target: Gemfile
- source: starter_templates/ruby/Gemfile.lock
target: Gemfile.lock
template_attributes:
required_executable: "ruby (3.3)"
user_editable_file: "app/main.rb"

- language: cpp
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/cpp/.gitignore
target: .gitignore
- source: starter_templates/cpp/src/Server.cpp
target: src/Server.cpp
- source: starter_templates/cpp/CMakeLists.txt
target: CMakeLists.txt
- source: starter_templates/cpp/vcpkg.json
target: vcpkg.json
- source: starter_templates/cpp/vcpkg-configuration.json
target: vcpkg-configuration.json
- source: starter_templates/cpp/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "cmake"
user_editable_file: "src/Server.cpp"

- language: javascript
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/javascript/package.json
target: package.json
- source: starter_templates/javascript/package-lock.json
target: package-lock.json
- source: starter_templates/javascript/app/main.js
target: app/main.js
- source: starter_templates/javascript/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
- source: starter_templates/javascript/.gitignore
target: .gitignore
template_attributes:
required_executable: "node (21)"
user_editable_file: "app/main.js"

- language: csharp
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/csharp/.gitignore
target: .gitignore
- source: starter_templates/csharp/src/Program.cs
target: src/Program.cs
- source: starter_templates/csharp/codecrafters-grep.csproj
target: codecrafters-grep.csproj
- source: starter_templates/csharp/codecrafters-grep.sln
target: codecrafters-grep.sln
- source: starter_templates/csharp/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "dotnet (8.0)"
user_editable_file: "src/Program.cs"

- language: typescript
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/typescript/app/main.ts
target: app/main.ts
- source: starter_templates/typescript/package.json
target: package.json
- source: starter_templates/typescript/bun.lockb
target: bun.lockb
- source: starter_templates/typescript/tsconfig.json
target: tsconfig.json
- source: starter_templates/typescript/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
- source: starter_templates/typescript/.gitignore
target: .gitignore
template_attributes:
required_executable: "bun (1.1)"
user_editable_file: "app/main.ts"

- language: gleam
file_mappings:
- source: starter_templates/README.md
target: README.md
- source: starter_templates/codecrafters.yml
target: codecrafters.yml
- source: starter_templates/gleam/src/grep.gleam
target: src/grep.gleam
- source: starter_templates/gleam/.gitignore
target: .gitignore
- source: starter_templates/gleam/gleam.toml
target: gleam.toml
- source: starter_templates/gleam/manifest.toml
target: manifest.toml
- source: starter_templates/gleam/your_grep.sh
target: your_grep.sh
- source: starter_templates/.gitattributes
target: .gitattributes
template_attributes:
required_executable: "gleam (1.0)"
user_editable_file: "src/grep.gleam"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 33d9db4

Please sign in to comment.