Skip to content

Commit

Permalink
Prepare publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
rehlma committed Jun 12, 2024
1 parent 965baa7 commit 7649a43
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci_test/
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ The `flutterSdkPath:` binds the current Puro environment SDK, allowing the `flut
Install the plugin with the following command:

```bash
<cli> sidekick plugins install --source git https://github.com/phntmxyz/puro_sidekick_plugin
<cli> sidekick plugins install puro_sidekick_plugin
```

After installation, the plugin is available in the Sidekick CLI.
Afterward it will check if `puro` is installed already, if not it will aks you to install `puro` globally
or if you want to use it locally for the current project.

```bash
~/project master > <cli> flutter --version 5s
Puro is not installed.
Do you want to install Puro global? (y/n) [n]
```

## Usage
Expand All @@ -31,6 +41,7 @@ environment:
```bash
<cli> flutter --version // Outputs Flutter version 3.10.6
<cli> puro flutter --version // Also outputs Flutter version 3.10.6
```

You can also specify a particular Flutter version.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/install_puro.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Directory installPuro({
}

final installGlobal =
dcli.ask("Puro is not installed.\nDo you want to install Puro globally? (y/n)", defaultValue: 'n');
dcli.ask("Puro is not installed.\nDo you want to install Puro global? (y/n)", defaultValue: 'n');

final latestVersion = getLatestPuroVersion();
print('Download Puro $latestVersion');
Expand Down
3 changes: 0 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ issue_tracker: https://github.com/phntmxyz/puro_sidekick_plugin/issues
topics:
- sidekick
- sidekick-plugin
- flutter-wrapper
- flutter-version-management
- puro

publish_to: none

environment:
sdk: '>=3.0.0 <4.0.0'

Expand Down

0 comments on commit 7649a43

Please sign in to comment.