Skip to content

Commit 48665de

Browse files
chore: move sample files to testdata/examples and clean up .gitignore
- Move root-level sample data files (data.json, data.yaml, input.txt, input.yaml, encoded.txt) to testdata/examples for better organization - Remove duplicate entries from .gitignore (codewise, codewise-cli) - Remove outdated generated test output entries from .gitignore - Update validator package placeholder with proper documentation - Improve repository cleanliness and fixture organization
1 parent 1ad9c88 commit 48665de

9 files changed

Lines changed: 12 additions & 17 deletions

File tree

.gitignore

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# -----------------------------
21
# Go / Build / Binary files
3-
# -----------------------------
42
*.o
53
*.a
64
*.so
@@ -15,9 +13,7 @@ cobra.test
1513
bin/
1614
dist/
1715

18-
# -----------------------------
1916
# Project specific / temporary
20-
# -----------------------------
2117
output.json
2218
output.yaml
2319
output.xml
@@ -31,9 +27,7 @@ config.yaml
3127
# pkg/prompt folder (included for interactive prompts)
3228
# pkg/prompt/ <- commented out so files are tracked
3329

34-
# -----------------------------
3530
# IDE / Editor
36-
# -----------------------------
3731
.idea/
3832
.vscode/
3933
*.iml
@@ -42,20 +36,12 @@ Session.vim
4236
.netrwhist
4337
*~
4438

45-
# -----------------------------
46-
# Other generated files / folders
47-
# -----------------------------
39+
# Generated binaries and build outputs
4840
codewise-cli
4941
myapp/
5042
myapp/codewise
5143
codewise
5244
myappcodewise-cli
53-
codewise-cli
54-
JTY_output.yaml
55-
KVTJ_output.json
56-
YTJ_output.json
5745

58-
# -----------------------------
5946
# Environment files
60-
# -----------------------------
6147
.env

pkg/validator/validate.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
package encoder
1+
package validator
22

3-
// placeholder until implemented
3+
// Package validator is reserved for future framework and configuration validation logic.
4+
// Currently under planning; v2.0+ roadmap.

testdata/JTY_output.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "Codewise",
3+
"version": "1.0"
4+
}

testdata/YTJ_output.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"language": "Go",
3+
"name": "Codewise"
4+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)