-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtree.sh
More file actions
executable file
·37 lines (26 loc) · 1.21 KB
/
tree.sh
File metadata and controls
executable file
·37 lines (26 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mkdir include
# Create the src directory for source files
mkdir src
# Create the tests directory for unit tests
mkdir tests
# Create the assets directory for graphical assets (optional)
mkdir -p assets/textures assets/shaders assets/models
# Create the docs directory for documentation
mkdir docs
# Create the build directory for build files and outputs
mkdir build
# Create the Makefile (and other necessary files)
touch Makefile .gitignore README.md
# Create the header files in the include directory
touch include/vector.h include/body.h include/collision.h include/physics_world.h \
include/integration.h include/collision_response.h include/renderer.h \
include/utils.h
# Create the source files in the src directory
touch src/main.c src/vector.c src/body.c src/collision.c src/physics_world.c \
src/integration.c src/collision_response.c src/renderer.c src/utils.c
# Create the test files in the tests directory
touch tests/test_vector.c tests/test_body.c tests/test_collision.c \
tests/test_integration.c tests/test_collision_response.c \
tests/test_physics_world.c
# Create basic documentation files
touch docs/design_document.md docs/user_guide.md docs/developer_guide.md docs/README.md