feat: Weevil v1.0.0-beta1 - FTC Project Generator
Cross-platform tool for generating clean, testable FTC robot projects without editing the SDK installation. Features: - Standalone project generation with proper separation from SDK - Per-project SDK configuration via .weevil.toml - Local unit testing support (no robot required) - Cross-platform build/deploy scripts (Linux/macOS/Windows) - Project upgrade system preserving user code - Configuration management commands - Comprehensive test suite (11 passing tests) - Zero-warning builds Architecture: - Pure Rust implementation with embedded Gradle wrapper - Projects use deployToSDK task to copy code to FTC SDK TeamCode - Git-ready projects with automatic initialization - USB and WiFi deployment with auto-detection Commands: - weevil new <name> - Create new project - weevil upgrade <path> - Update project infrastructure - weevil config <path> - View/modify project configuration - weevil sdk status/install/update - Manage SDKs Addresses the core problem: FTC's SDK structure forces students to edit framework internals instead of separating concerns like industry standard practices. Weevil enables proper software engineering workflows for robotics education.
This commit is contained in:
1
tests/fixtures/mock-ftc-sdk/.version
vendored
Normal file
1
tests/fixtures/mock-ftc-sdk/.version
vendored
Normal file
@@ -0,0 +1 @@
|
||||
v10.1.1
|
||||
10
tests/fixtures/mock-ftc-sdk/README.md
vendored
Normal file
10
tests/fixtures/mock-ftc-sdk/README.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# File: tests/fixtures/mock-ftc-sdk/README.md
|
||||
# Mock FTC SDK for testing
|
||||
|
||||
This directory contains a minimal FTC SDK structure for testing purposes.
|
||||
|
||||
Structure:
|
||||
- FtcRobotController/ - Main controller module
|
||||
- TeamCode/ - Where user code gets deployed
|
||||
- build.gradle - Root build file
|
||||
- gradlew - Gradle wrapper script
|
||||
15
tests/fixtures/mock-ftc-sdk/build.gradle
vendored
Normal file
15
tests/fixtures/mock-ftc-sdk/build.gradle
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Mock FTC SDK build.gradle for testing
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user