$schema: 'https://moonrepo.dev/schemas/project.json'
type: 'library'
language: 'rust'
stack: 'backend'
platform: 'system'
project:
name: 'soul-coder'
description: '7 coding tools: read, write, edit, bash, grep, find, ls'
channel: '#amai-infra'
maintainers: ['@amai-labs']
tags:
- 'rust'
- 'library'
- 'tools'
- 'coding'
fileGroups:
sources:
- 'src/**/*.rs'
configs:
- 'Cargo.toml'
tasks:
build:
command: 'cargo build'
inputs:
- '@group(sources)'
- '@group(configs)'
check:
command: 'cargo check'
inputs:
- '@group(sources)'
- '@group(configs)'
test:
command: 'cargo test'
inputs:
- '@group(sources)'
- '@group(configs)'
lint:
command: 'cargo clippy -- -D warnings'
inputs:
- '@group(sources)'
- '@group(configs)'
fmt:
command: 'cargo fmt --check'
inputs:
- '@group(sources)'
fmt-fix:
command: 'cargo fmt'
local: true