Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » share how you structure your projects here :D
- MagicCrayon9342
-
Scratcher
1000+ posts
share how you structure your projects here :D
by structure i mean file structure, how do you structure files in your projects
here's mine:
here's mine:
src/main.js
lib/library/library.min.js
index.html
output/out.css
input/in.css
- DifferentDance8
-
Scratcher
1000+ posts
share how you structure your projects here :D

Also a little spoiler for my possibly upcoming website.

- skymover1239
-
Scratcher
500+ posts
share how you structure your projects here :D
Dump everything into /. Unless there's to many files (like more than 8-10) then I add a /src. 

Last edited by skymover1239 (Oct. 1, 2022 14:49:14)
- imfh
-
Scratcher
1000+ posts
share how you structure your projects here :D
docs/…
src/run.py
src/package1/__init__.py
src/package1/main.py
src/package1/subpackage/…
src/package1/…
src/package2/…
src/…
LICENSE
README.md
requirements.txt
.gitignore
- -EmeraldThunder-
-
Scratcher
1000+ posts
share how you structure your projects here :D
It really depends what sort of project I'm working on. This is my general structure, though:
.gitignore
README.md
LICENCE
CONTRIBUTING.md
src/
├─ main
├─ assets/
│ ├─ images/
│ ├─ fonts/
│ ├─ audio/
- uwv
-
Scratcher
1000+ posts
share how you structure your projects here :D
generally i do something like this
- assets
- build
- program binaries, shared libraries etc
- deps
- dependency1
- etc..
- run
- files created during program run (settings etc)
- src
- main.cc
- .gitignore
- CMakeLists.txt
- README.md
- Redstone1080
-
Scratcher
1000+ posts
share how you structure your projects here :D
Error loading the requested resource from https://redstone-scratch.github.io/info/api/folder-structure:
404 Not Found
Edit: Here's my latest project's folder structure:

Last edited by Redstone1080 (Oct. 1, 2022 22:42:13)
- Discussion Forums
- » Advanced Topics
-
» share how you structure your projects here :D
