SolomonDefi / solomon-monorepo

Monorepo containing core Solomon apps, services, libraries, and deploy config.
6 stars 3 forks source link

Add check generate into git pre-commit hook #160

Closed apolkingg8 closed 3 years ago

apolkingg8 commented 3 years ago

The hook will do the following steps:

  1. Check target files exist
  2. Check source files status
  3. If target file does not exist or source files status is modified, run generate script

Currently, we have the following targets:

  1. Contract type (libs/shared/util-contract)
  2. Event type (libs/shared/util-event)
solomondefi-dev commented 3 years ago

@apolkingg8 I just created #159, I will merge these later with your additional details.

apolkingg8 commented 3 years ago

@solomondefi-dev I merged it. Close because duplicate to #159.

solomondefi-dev commented 3 years ago

Thanks!