From 266d66ceafcf797fd1d549f6deb8f870b4cd36c5 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 29 Jul 2024 17:50:14 +0100 Subject: [PATCH] Move examples into examples subdirectory. --- examples/tiny_fx/examples/_.py | 2 ++ examples/tiny_fx/{ => examples}/effects/traffic_light.py | 0 examples/tiny_fx/{ => examples}/effects/wave.py | 0 examples/tiny_fx/{ => examples}/showcase/ship_thrusters.py | 0 examples/tiny_fx/{ => examples}/showcase/space_tales.py | 0 .../tiny_fx/{ => examples}/showcase/space_tales_with_pir.py | 0 examples/tiny_fx/uf2-manifest.txt | 5 +++-- 7 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 examples/tiny_fx/examples/_.py rename examples/tiny_fx/{ => examples}/effects/traffic_light.py (100%) rename examples/tiny_fx/{ => examples}/effects/wave.py (100%) rename examples/tiny_fx/{ => examples}/showcase/ship_thrusters.py (100%) rename examples/tiny_fx/{ => examples}/showcase/space_tales.py (100%) rename examples/tiny_fx/{ => examples}/showcase/space_tales_with_pir.py (100%) diff --git a/examples/tiny_fx/examples/_.py b/examples/tiny_fx/examples/_.py new file mode 100644 index 0000000..f82445a --- /dev/null +++ b/examples/tiny_fx/examples/_.py @@ -0,0 +1,2 @@ +# Ignore me, I'm here to fix a dir2uf2 bug by triggering the creation of +# the examples/ directory. See: https://github.com/Gadgetoid/dir2uf2/issues/10 diff --git a/examples/tiny_fx/effects/traffic_light.py b/examples/tiny_fx/examples/effects/traffic_light.py similarity index 100% rename from examples/tiny_fx/effects/traffic_light.py rename to examples/tiny_fx/examples/effects/traffic_light.py diff --git a/examples/tiny_fx/effects/wave.py b/examples/tiny_fx/examples/effects/wave.py similarity index 100% rename from examples/tiny_fx/effects/wave.py rename to examples/tiny_fx/examples/effects/wave.py diff --git a/examples/tiny_fx/showcase/ship_thrusters.py b/examples/tiny_fx/examples/showcase/ship_thrusters.py similarity index 100% rename from examples/tiny_fx/showcase/ship_thrusters.py rename to examples/tiny_fx/examples/showcase/ship_thrusters.py diff --git a/examples/tiny_fx/showcase/space_tales.py b/examples/tiny_fx/examples/showcase/space_tales.py similarity index 100% rename from examples/tiny_fx/showcase/space_tales.py rename to examples/tiny_fx/examples/showcase/space_tales.py diff --git a/examples/tiny_fx/showcase/space_tales_with_pir.py b/examples/tiny_fx/examples/showcase/space_tales_with_pir.py similarity index 100% rename from examples/tiny_fx/showcase/space_tales_with_pir.py rename to examples/tiny_fx/examples/showcase/space_tales_with_pir.py diff --git a/examples/tiny_fx/uf2-manifest.txt b/examples/tiny_fx/uf2-manifest.txt index 6187ddc..5f55736 100644 --- a/examples/tiny_fx/uf2-manifest.txt +++ b/examples/tiny_fx/uf2-manifest.txt @@ -1,6 +1,7 @@ main.py -effects/*.py -showcase/*.py +examples/*.py +examples/effects/*.py +examples/showcase/*.py lib/*.py lib/picofx/*.py lib/picofx/colour/*.py