Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: add Makefile #60

Merged
merged 1 commit into from
Dec 20, 2024
Merged

chore: add Makefile #60

merged 1 commit into from
Dec 20, 2024

Conversation

medcl
Copy link
Member

@medcl medcl commented Dec 20, 2024

This pull request introduces several new targets and checks to the Makefile to streamline the development and build process for a desktop application. The most important changes include setting a minimum Node.js version requirement, adding targets for installing dependencies, starting development, and building the application, and creating a clean rebuild process.

Makefile enhancements:

  • Added a variable NODE_VERSION_MIN to specify the minimum required Node.js version.
  • Introduced a check-node-version target to ensure the Node.js version meets the minimum requirement before proceeding.
  • Added install-dependencies target to install necessary dependencies using pnpm.
  • Created start-dev, build-mac-app, and build-mac-dmg targets to handle starting development and building the application for MacOS.
  • Implemented a clean-rebuild target to remove node_modules and rebuild the project from scratch.

@RainyNight9 RainyNight9 merged commit 4b6965e into main Dec 20, 2024
@RainyNight9 RainyNight9 deleted the makfile branch December 20, 2024 03:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants