From: kosmirror <kos...@us...> - 2025-06-28 19:48:29
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 821ce865fd1bc51b6bd7c93800520ae76a52ecaf (commit) from 77d9e22dafdf4c1210f06d6676b740e6ff34bda4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 821ce865fd1bc51b6bd7c93800520ae76a52ecaf Author: QuzarDC <qu...@co...> Date: Thu Jun 26 19:32:31 2025 -0400 examples: replace `.keepme` with `.gitignore` In each case that we were using `.keepme`, we had an empty romdisk folder that is either populated by generated files, or in the case of the sound examples user provided files. Instead of having a `.gitignore` in the main folder of the example that lists the files to ignore in the romdisk, then a separate `.keepme` just to keep the dir alive, we can have the `.gitignore` be directly in the romdisk folder. To match this, the Makefile.rules was updated to have romdisk building ignore `.gitignore` (which seems like just a nice thing anyways for users). Additionally, the sound examples previously did not have any `.gitignore` so so it was added to prevent the `test.mp3/ogg/opus/adx` files from appearing as untracked files. ----------------------------------------------------------------------- Summary of changes: Makefile.rules | 2 +- examples/dreamcast/basic/exec/.gitignore | 1 - examples/dreamcast/basic/exec/romdisk/.gitignore | 1 + examples/dreamcast/basic/exec/romdisk/.keepme | 0 examples/dreamcast/cpp/modplug_test/romdisk/.keepme | 0 examples/dreamcast/pvr/bumpmap/.gitignore | 2 -- examples/dreamcast/pvr/bumpmap/romdisk/.gitignore | 2 ++ examples/dreamcast/pvr/bumpmap/romdisk/.keepme | 0 examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.gitignore | 2 ++ examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.keepme | 0 examples/dreamcast/sound/hello-adx/romdisk/.gitignore | 1 + examples/dreamcast/sound/hello-adx/romdisk/.keepme | 0 examples/dreamcast/sound/hello-mp3/romdisk/.gitignore | 1 + examples/dreamcast/sound/hello-mp3/romdisk/.keepme | 0 examples/dreamcast/sound/hello-ogg/romdisk/.gitignore | 1 + examples/dreamcast/sound/hello-ogg/romdisk/.keepme | 0 examples/dreamcast/sound/hello-opus/romdisk/.gitignore | 1 + examples/dreamcast/sound/hello-opus/romdisk/.keepme | 0 18 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 examples/dreamcast/basic/exec/.gitignore create mode 100644 examples/dreamcast/basic/exec/romdisk/.gitignore delete mode 100644 examples/dreamcast/basic/exec/romdisk/.keepme delete mode 100644 examples/dreamcast/cpp/modplug_test/romdisk/.keepme delete mode 100644 examples/dreamcast/pvr/bumpmap/.gitignore create mode 100644 examples/dreamcast/pvr/bumpmap/romdisk/.gitignore delete mode 100644 examples/dreamcast/pvr/bumpmap/romdisk/.keepme create mode 100644 examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.gitignore delete mode 100644 examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.keepme create mode 100644 examples/dreamcast/sound/hello-adx/romdisk/.gitignore delete mode 100644 examples/dreamcast/sound/hello-adx/romdisk/.keepme create mode 100644 examples/dreamcast/sound/hello-mp3/romdisk/.gitignore delete mode 100644 examples/dreamcast/sound/hello-mp3/romdisk/.keepme create mode 100644 examples/dreamcast/sound/hello-ogg/romdisk/.gitignore delete mode 100644 examples/dreamcast/sound/hello-ogg/romdisk/.keepme create mode 100644 examples/dreamcast/sound/hello-opus/romdisk/.gitignore delete mode 100644 examples/dreamcast/sound/hello-opus/romdisk/.keepme diff --git a/Makefile.rules b/Makefile.rules index 9fa4aa62..6c34c9ed 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -78,7 +78,7 @@ $(patsubst %, _clean_dir_%, $(SUBDIRS)): # Define KOS_ROMDISK_DIR in your Makefile if you want these two handy rules. ifdef KOS_ROMDISK_DIR romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d $(KOS_ROMDISK_DIR) -v -x .keepme -x .DS_Store -x Thumbs.db + $(KOS_GENROMFS) -f romdisk.img -d $(KOS_ROMDISK_DIR) -v -x .gitignore -x .DS_Store -x Thumbs.db romdisk.o: romdisk.img $(KOS_BASE)/utils/bin2c/bin2c romdisk.img romdisk_tmp.c romdisk diff --git a/examples/dreamcast/basic/exec/.gitignore b/examples/dreamcast/basic/exec/.gitignore deleted file mode 100644 index 2e6b6d00..00000000 --- a/examples/dreamcast/basic/exec/.gitignore +++ /dev/null @@ -1 +0,0 @@ -romdisk/sub.bin diff --git a/examples/dreamcast/basic/exec/romdisk/.gitignore b/examples/dreamcast/basic/exec/romdisk/.gitignore new file mode 100644 index 00000000..1a6f3dfa --- /dev/null +++ b/examples/dreamcast/basic/exec/romdisk/.gitignore @@ -0,0 +1 @@ +sub.bin diff --git a/examples/dreamcast/basic/exec/romdisk/.keepme b/examples/dreamcast/basic/exec/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/cpp/modplug_test/romdisk/.keepme b/examples/dreamcast/cpp/modplug_test/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/pvr/bumpmap/.gitignore b/examples/dreamcast/pvr/bumpmap/.gitignore deleted file mode 100644 index 5e74dd6d..00000000 --- a/examples/dreamcast/pvr/bumpmap/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -romdisk/bricks.kmg -romdisk/bumpmap.raw diff --git a/examples/dreamcast/pvr/bumpmap/romdisk/.gitignore b/examples/dreamcast/pvr/bumpmap/romdisk/.gitignore new file mode 100644 index 00000000..538da471 --- /dev/null +++ b/examples/dreamcast/pvr/bumpmap/romdisk/.gitignore @@ -0,0 +1,2 @@ +bricks.kmg +bumpmap.raw diff --git a/examples/dreamcast/pvr/bumpmap/romdisk/.keepme b/examples/dreamcast/pvr/bumpmap/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.gitignore b/examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.gitignore new file mode 100644 index 00000000..c96a04f0 --- /dev/null +++ b/examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.keepme b/examples/dreamcast/sound/ghettoplay-vorbis/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/sound/hello-adx/romdisk/.gitignore b/examples/dreamcast/sound/hello-adx/romdisk/.gitignore new file mode 100644 index 00000000..3320b97a --- /dev/null +++ b/examples/dreamcast/sound/hello-adx/romdisk/.gitignore @@ -0,0 +1 @@ +test.adx \ No newline at end of file diff --git a/examples/dreamcast/sound/hello-adx/romdisk/.keepme b/examples/dreamcast/sound/hello-adx/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/sound/hello-mp3/romdisk/.gitignore b/examples/dreamcast/sound/hello-mp3/romdisk/.gitignore new file mode 100644 index 00000000..51d612ab --- /dev/null +++ b/examples/dreamcast/sound/hello-mp3/romdisk/.gitignore @@ -0,0 +1 @@ +test.mp3 \ No newline at end of file diff --git a/examples/dreamcast/sound/hello-mp3/romdisk/.keepme b/examples/dreamcast/sound/hello-mp3/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/sound/hello-ogg/romdisk/.gitignore b/examples/dreamcast/sound/hello-ogg/romdisk/.gitignore new file mode 100644 index 00000000..442d8bf9 --- /dev/null +++ b/examples/dreamcast/sound/hello-ogg/romdisk/.gitignore @@ -0,0 +1 @@ +test.ogg \ No newline at end of file diff --git a/examples/dreamcast/sound/hello-ogg/romdisk/.keepme b/examples/dreamcast/sound/hello-ogg/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 diff --git a/examples/dreamcast/sound/hello-opus/romdisk/.gitignore b/examples/dreamcast/sound/hello-opus/romdisk/.gitignore new file mode 100644 index 00000000..77084508 --- /dev/null +++ b/examples/dreamcast/sound/hello-opus/romdisk/.gitignore @@ -0,0 +1 @@ +test.opus \ No newline at end of file diff --git a/examples/dreamcast/sound/hello-opus/romdisk/.keepme b/examples/dreamcast/sound/hello-opus/romdisk/.keepme deleted file mode 100644 index e69de29b..00000000 hooks/post-receive -- A pseudo Operating System for the Dreamcast. |