0 purchases
custom build tool
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:
dev_dependencies:
custom_build_tool: ^1.2.22
copied to clipboard
Then, run the following command to get the package:
flutter pub get
copied to clipboard
Usage #
Running the Tool #
To run the custom_build_tool, use the following command:
flutter pub run custom_build_tool
copied to clipboard
Command-Line Options #
--reset
Use the --reset option to reset user preferences:
flutter pub run custom_build_tool --reset
copied to clipboard
--help
Use the --help option to display help information:
flutter pub run custom_build_tool --help
copied to clipboard
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:
dev_dependencies:
custom_build_tool: ^1.2.22
copied to clipboard
2.Get the package:
flutter pub get
copied to clipboard
3.run the tool:
flutter pub run custom_build_tool
copied to clipboard
4.Reset preferences if needed:
flutter pub run custom_build_tool --reset
copied to clipboard
5.Display help information:
flutter pub run custom_build_tool --help
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.