0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-04 17:31:54 +01:00
gitea/AGENTS.md
2026-02-02 19:22:10 +01:00

764 B

Instructions for agents

  • Use make help to find available development targets
  • Install the latest Golang stable release before working on .go files
  • Install the latest Node.js LTS release and pnpm before working on .ts files
  • Before running .go tests, run make deps-backend to install dependencies
  • Before running .ts tests, run make deps-frontend to install dependencies
  • Before committing .go, run make fmt to format, and run make lint-go to lint
  • Before committing .ts changes, run make lint-js to lint
  • Before committing go.mod changes, run make tidy
  • Before committing new .go files, add the current year into the copyright header
  • Before committing any files, remove all trailing whitespace from source code lines