Skip to content

Commit 0845ca8

Browse files
committed
symlinks?
1 parent 76a8545 commit 0845ca8

File tree

5 files changed

+90
-86
lines changed

5 files changed

+90
-86
lines changed

LICENSE

Lines changed: 0 additions & 27 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puro/LICENSE

README.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puro/README.md

puro/LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2022 Andre Lipke
2+
3+
Copyright 2014 The Flutter Authors. All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without modification,
6+
are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above
11+
copyright notice, this list of conditions and the following
12+
disclaimer in the documentation and/or other materials provided
13+
with the distribution.
14+
* Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived
16+
from this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

puro/README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Puro
2+
3+
## About
4+
5+
Puro is an experimental tool for managing flutter installs.
6+
7+
Unlike the current approaches, puro uses a global cache of git objects and engine artifacts, allowing you to get a
8+
working fork of Flutter in as little as **3 seconds**.
9+
10+
## Quick start
11+
12+
To install puro, run:
13+
14+
```
15+
dart pub global activate puro
16+
```
17+
18+
Once installed you can create and use an environment:
19+
20+
```
21+
puro create my_env stable
22+
puro use my_env
23+
```
24+
25+
And that's it! Your IDE will be automatically configured to use the new environment.
26+
27+
## Usage
28+
29+
```
30+
An experimental tool for managing flutter versions.
31+
32+
Usage: puro <command> [arguments]
33+
34+
Global options:
35+
-h, --help Print this usage information.
36+
--git=<exe> Overrides the path to the git executable.
37+
--root=<dir> Overrides the global puro root directory. (defaults to `~/.puro`)
38+
--dir=<dir> Overrides the current working directory.
39+
-p, --project=<dir> Overrides the selected flutter project.
40+
-e, --env=<name> Overrides the selected environment.
41+
--flutter-git-url=<url> Overrides the Flutter SDK git url.
42+
--engine-git-url=<url> Overrides the Flutter Engine git url.
43+
--releases-json-url=<url> Overrides the Flutter releases json url.
44+
--flutter-storage-base-url=<url> Overrides the Flutter storage base url.
45+
--log-level=<0-4> Changes how much information is logged to the console, 0 being no logging at all, and 4 being extremely verbose.
46+
-v, --[no-]verbose Verbose logging, alias for --log-level=3.
47+
--[no-]color Enable or disable ANSI colors.
48+
--json Output in JSON where possible.
49+
50+
Available commands:
51+
create Sets up a new Flutter environment.
52+
dart Forwards arguments to dart in the current environment.
53+
flutter Forwards arguments to flutter in the current environment.
54+
ls List available environments.
55+
rm Delete an environment.
56+
use Select an environment to use in the current project.
57+
58+
Run "puro help <command>" for more information about a command.
59+
```

puro/pubspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ dependencies:
1515
http: ^0.13.5
1616
json_annotation: ^4.7.0
1717
neoansi: ^0.3.2+1
18+
path: ^1.8.2
19+
petitparser: ^5.0.0
1820
process: ^4.2.4
1921
protobuf: ^2.1.0
2022
pub_semver: ^2.1.1

0 commit comments

Comments
 (0)