- Remove 7 unused dependencies: apt-pkg-native, pkg-config, walkdir, lazy_static, futures, async-trait, cap-std - Delete dead code: Remove unused parallel.rs module - Clean build artifacts: Remove debian/cargo/, debian/.debhelper/, and other build files - Update .gitignore: Comprehensive patterns for build artifacts, test files, and temporary files - Move documentation: Relocate project docs to docs/ directory - Remove test artifacts: Clean up test files and package archives - Update Cargo.toml: Streamline dependencies and remove unused features - Verify build: Ensure project still compiles after cleanup This commit significantly reduces project size and improves build efficiency.
50 lines
948 B
Bash
Executable file
50 lines
948 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Clear the changelog file after git commit
|
|
# Usage: ./clear-changelog.sh
|
|
|
|
echo "Clearing changelog..."
|
|
|
|
# Clear the changelog content but keep the structure
|
|
cat > CHANGELOG.md << 'EOF'
|
|
# Changelog
|
|
|
|
This file tracks changes made during development sessions. After each git commit, this file is cleared to start fresh.
|
|
|
|
## Current Session Changes
|
|
|
|
### Commands Enhanced
|
|
-
|
|
|
|
### Features Added
|
|
-
|
|
|
|
### Technical Improvements
|
|
-
|
|
|
|
### Files Modified
|
|
-
|
|
|
|
## Usage
|
|
|
|
1. **During Development**: Add brief notes about changes made
|
|
2. **Before Commit**: Review changes and format for commit message
|
|
3. **After Commit**: Clear this file to start fresh for next session
|
|
|
|
## Commit Message Format
|
|
|
|
Use the following format for commit messages:
|
|
|
|
```
|
|
feat: brief description of changes
|
|
|
|
- Key change 1
|
|
- Key change 2
|
|
- Key change 3
|
|
|
|
Files: file1.rs, file2.rs
|
|
```
|
|
EOF
|
|
|
|
echo "Changelog cleared successfully!"
|
|
echo "Ready for next development session."
|