- 源码 316 文件收编为 rusto-rs/ 文件夹,随本仓库管理 - 移除内部 .git(补丁已存档 docs/rusto-rs-metal-patch-20260912.patch,上游可随时 re-clone) - target/ 与 docs/.yarn 缓存不入库;本地改动:ROCR_* 环境变量调优 + Metal 链接修复 + 预处理测试脚本
45 lines
941 B
YAML
45 lines
941 B
YAML
# EXAMPLE USAGE:
|
|
#
|
|
# Refer for explanation to following link:
|
|
# https://lefthook.dev/configuration/
|
|
#
|
|
# pre-push:
|
|
# jobs:
|
|
# - name: packages audit
|
|
# tags:
|
|
# - frontend
|
|
# - security
|
|
# run: yarn audit
|
|
#
|
|
# - name: gems audit
|
|
# tags:
|
|
# - backend
|
|
# - security
|
|
# run: bundle audit
|
|
#
|
|
# pre-commit:
|
|
# parallel: true
|
|
# jobs:
|
|
# - run: yarn oxlint {staged_files}
|
|
# glob: "*.{js,ts,jsx,tsx}"
|
|
# - run: yarn oxfmt {staged_files}
|
|
# glob: "*.{js,ts,jsx,tsx,json,md,vue}"
|
|
#
|
|
# - name: rubocop
|
|
# glob: "*.rb"
|
|
# exclude:
|
|
# - config/application.rb
|
|
# - config/routes.rb
|
|
# run: bundle exec rubocop --force-exclusion {all_files}
|
|
#
|
|
# - name: govet
|
|
# files: git ls-files -m
|
|
# glob: "*.go"
|
|
# run: go vet {files}
|
|
#
|
|
# - script: "hello.js"
|
|
# runner: node
|
|
#
|
|
# - script: "hello.go"
|
|
# runner: go run
|