Commit e2aed4f
authored
[code_assets] Organize examples (#2542)
This PR reorganizes the code samples for `package:code_assets`:
* It adds a readme.md to the examples directory to be displayed on pub.dev
* It adds readmes to the samples missing readmes.
* It `.pubignore`s the examples directory except for the readme.
* And adds a test verifying we're not including samples. (Compressed archive size for code-assets from 3MB -> 21KB.)
* It also adds a test that certain sample files are not moved, since we want to reference them from external sources.
(Also applies some of these things to the other packages.)1 parent 6266289 commit e2aed4f
File tree
67 files changed
+447
-17
lines changed- pkgs
- code_assets
- example
- api
- host_name
- hook
- lib
- src
- third_party
- src
- test
- tool
- mini_audio
- bin
- hook
- lib
- src
- third_party
- test
- third_party
- tool
- sqlite_prebuilt
- hook
- lib
- src
- third_party
- test
- third_party/sqlite
- tool
- sqlite
- hook
- lib
- src
- third_party
- test
- third_party/sqlite
- tool
- stb_image
- data
- hook
- lib
- src
- third_party
- test
- third_party
- tool
- test/example
- data_assets
- example
- api
- hooks_runner
- hooks
- example/api
- test/example
- tool
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+447
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
File renamed without changes.
0 commit comments