Skip to content

1.2.0

Latest

Choose a tag to compare

@Tra-va-de Tra-va-de released this 14 Jul 15:32
· 1 commit to main since this release

v1.2.0 - Release with Justfile and Enhanced Git Command Support

Overview
This release enhances the project creation scripts by adding a justfile with a set of Git commands to streamline version control workflows. The scripts have been tested on Windows 11 and ArchLinux for compatibility.

Features

  • create.bat: For Windows via CMD, now creates a justfile alongside the basic project structure.
  • create.sh: For Linux/macOS via Bash, now creates a justfile alongside the basic project structure.
  • create-scss.bat: For Windows via CMD, scaffolds SCSS 7-1 structure and includes justfile.
  • create-scss.sh: For Linux/macOS via Bash, scaffolds SCSS 7-1 structure and includes justfile.
  • Automatic project numbering (e.g., pr0, pr1) for unique project folders.
  • justfile includes the following Git commands:
    • just create-branch: Creates and switches to a new branch from main.
    • just push-current: Commits and pushes changes to the current branch.
    • just merge-current: Merges the current branch into main and pushes to origin.
    • just merge-to-main: Merges a specified branch into main and pushes to origin.
    • just push-and-merge: Commits, pushes the current branch, merges it into main, and pushes to origin.
    • just undo-last-commit: Reverts the last commit in the current branch with a force push.
    • just undo-last-merge: Reverts the last merge in main and the associated branch changes.
  • Includes pre-populated index.html, style.css (or SCSS 7-1 structure for SCSS scripts), and .gitignore.
  • Tested on Windows 11 and ArchLinux.

Usage

  • Windows: Run create.bat or create-scss.bat to generate the project structure and justfile.
  • Linux/macOS: Run chmod +x create.sh and ./create.sh or chmod +x create-scss.sh and ./create-scss.sh.
  • Use just commands (e.g., just create-branch, just push-and-merge) for Git operations after installing Just.

Assets

  • create.bat — Windows script for basic project setup.
  • create.sh — Linux/macOS script for basic project setup.
  • create-scss.bat — Windows SCSS 7-1 script.
  • create-scss.sh — Linux/macOS SCSS 7-1 script.