https://github.com/moein-dev/custom_build_tool
custom_build_tool is a powerful Dart/Flutter package that automates custom build processes, including version incrementing and build type selection, making your development workflow more efficient.
https://github.com/moein-dev/custom_build_tool
build-tools cli custom-build dart development-tools flutter github pubspec versioning
Last synced: 10 months ago
JSON representation
custom_build_tool is a powerful Dart/Flutter package that automates custom build processes, including version incrementing and build type selection, making your development workflow more efficient.
- Host: GitHub
- URL: https://github.com/moein-dev/custom_build_tool
- Owner: Moein-dev
- License: mit
- Created: 2024-05-21T12:28:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T14:36:09.000Z (about 1 year ago)
- Last Synced: 2025-04-11T14:49:06.819Z (10 months ago)
- Topics: build-tools, cli, custom-build, dart, development-tools, flutter, github, pubspec, versioning
- Language: Dart
- Homepage: https://pub.dev/packages/custom_build_tool
- Size: 84 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# custom_build_tool
`custom_build_tool` is a Dart/Flutter package designed to help manage and automate custom build processes for Flutter applications. This tool includes features for version incrementing, build type selection, and more.
## Installation
To add `custom_build_tool` to your project, include it in your `dev_dependencies` in the `pubspec.yaml` file:
```yaml
dev_dependencies:
custom_build_tool: ^1.2.23
```
Then, run the following command to get the package:
```sh
flutter pub get
```
## Usage
### Running the Tool
To run the custom_build_tool, use the following command:
```sh
flutter pub run custom_build_tool
```
### Command-Line Options
--reset
Use the --reset option to reset user preferences:
```sh
flutter pub run custom_build_tool --reset
```
--help
Use the --help option to display help information:
```sh
flutter pub run custom_build_tool --help
```
## Example
Here's a step-by-step example of how to use the custom_build_tool in your Flutter project:
1.Add the package to pubspec.yaml:
```yaml
dev_dependencies:
custom_build_tool: ^1.2.23
```
2.Get the package:
```sh
flutter pub get
```
3.run the tool:
```sh
flutter pub run custom_build_tool
```
4.Reset preferences if needed:
```sh
flutter pub run custom_build_tool --reset
```
5.Display help information:
```sh
flutter pub run custom_build_tool --help
```
## Features
. Version Incrementing: Automatically increments the version number in pubspec.yaml.
. Build Type Selection: Allows users to select the build type (release, debug, profile) interactively.
. Customizable Preferences: Preferences can be saved and reset as needed.
## Contributing
If you want to contribute to this project, please feel free to submit issues, fork the repository, and send pull requests.
## License
This project is licensed under the MIT License - see the LICENSE file for details.