dyrectorio icon indicating copy to clipboard operation
dyrectorio copied to clipboard

Add Makefile: check deps

Open gerimate opened this issue 2 years ago • 6 comments

Add intermediate pre-condition to make targets (root Makefile), as make dependencies to relevant code parts.

For golang code check go-dependencies, go-dev dependencies – separate.

For nodejs, the same.

These targets execute and if dependencies are missing or there is a version mismatch it bails with an exit code and an error.

Dependencies can be defined like so:

.PHONY target
target: dependency1 dependency2
  step1
  step2

gerimate avatar May 18 '23 09:05 gerimate

I dint quite understand the entire issue, could you elaborate?

Cioraz avatar Oct 04 '23 20:10 Cioraz

Hey @Cioraz! Welcome and thanks for reaching out. This should be pre-run test to make sure all the executables needed for development are available in PATH.

nandor-magyar avatar Oct 05 '23 07:10 nandor-magyar

I would like to work on this

kurayami07734 avatar Oct 08 '23 16:10 kurayami07734

I would like to work on this

We haven't received a solution yet, so please proceed.

polaroi8d avatar Oct 09 '23 12:10 polaroi8d

@polaroi8d @nandor-magyar @gerimate I added dependency checks targets. Please review my PR

Parvezkhan0 avatar Jan 16 '24 06:01 Parvezkhan0

Hi @Parvezkhan0, I've added a few thoughts.

polaroi8d avatar Jan 17 '24 06:01 polaroi8d