Skip to content

Set executable permissions for build scripts#161

Open
FabioZumbi12 wants to merge 4 commits intoobsproject:masterfrom
FabioZumbi12:patch-1
Open

Set executable permissions for build scripts#161
FabioZumbi12 wants to merge 4 commits intoobsproject:masterfrom
FabioZumbi12:patch-1

Conversation

@FabioZumbi12
Copy link

@FabioZumbi12 FabioZumbi12 commented Feb 10, 2026

Description

Add execute permissions to build scripts for macOS and Ubuntu.

Motivation and Context

This modification makes build ready to work after using in our plugins.

How Has This Been Tested?

Yes, on my own plugins using this template.

Types of changes

Changes action.yml to run chmod -x on executables for macos and linux.

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Add execute permissions to build scripts for macOS and Ubuntu.
Add execute permissions to run-clang-format script.
@exeldro
Copy link
Contributor

exeldro commented Feb 10, 2026

the files should have execute permissions in git, not added on running build

Added execute permission to the run-gersemi script.
@FabioZumbi12
Copy link
Author

Since I'm using VS Code on Windows, these permissions aren't set by default. When I push to the Git repository, the files lack the necessary execution rights. These chmod lines ensure the files are ready to run immediately after deployment.

@exeldro
Copy link
Contributor

exeldro commented Feb 10, 2026

you can run git add --chmod=+x * in the scripts folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants