Skip to content

Instantly share code, notes, and snippets.

@CJavierSaldana
Last active June 4, 2023 21:09
Show Gist options
  • Save CJavierSaldana/790b0fefd38e213ad0c8def98ab2ab93 to your computer and use it in GitHub Desktop.
Save CJavierSaldana/790b0fefd38e213ad0c8def98ab2ab93 to your computer and use it in GitHub Desktop.
This script creates a basic directory structure for a project, along with initializing some essential files.
# The script creates the following directories:
# src: The source code directory.
# docs: The directory for project documentation.
# tests/unit: The directory for unit tests.
# tests/integration: The directory for integration tests.
# build: The directory for build-related files.
# Additionally, the script initializes the following files:
# .gitignore: A file specifying patterns for files and directories that should be ignored by Git version control.
# README.md: A markdown file typically used for project documentation and information.
# Running this script will create the specified directory structure and initialize the necessary files for a project.
mkdir -p src docs tests/{unit,integration} build
touch .gitignore README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment