ts rust zig deez
1.0.0
우리는 가장 확실히 더 많은 코드 소유자가 필요합니다. 특정 언어의 코드에 녹색 점검을 주려면 소유자로 자신을 추가하십시오. 승인되면 합병하겠습니다. 이 모든 것을 검토 할 수는 없습니다. :)
TypeScript, Rust 또는 Zig의 구현은 Primeagen 자신이 예약하고 유지 관리합니다.
다른 언어의 경우, 먼저 와서 먼저 봉사하십시오. 선택한 언어에 구현이 존재한다면, 그것에 기여하십시오!
그렇지 않은 경우 lang_template 폴더를 복사하여 시작하십시오.
cp -r .github/LANG_TEMPLATE/ < your_folder_name >
함께 제공됩니다.
├── .gitignore # ignores all editor-specific or os-specific files, add additional stuff for your language
├── Dockerfile # for Docker builds
└── Makefile # convenient commands runner (make <cmd>) under *NIX systems
이제 Windows에서 편리한 명령 러너 ( .make.cmd <cmd>
)는 완전히 선택 사항이며 .github/의 루트에 있습니다.
일반적인:
help
- make
또는 make.cmd
와 동일하게 사용 가능한 모든 명령을 출력합니다.Docker없이 :
clean
fmt
lint
test
- 사용 가능한 모든 테스트를 실행해야합니다ready
- FMT, Lint Ant 테스트를 실행해야합니다도커 :
docker-build
빌드를 만듭니다docker-ready
빌드 이미지를 실행하고 fmt
, lint
, test
명령을 실행합니다. 이것은 언어 디렉토리의 루트에 Makefile
이 있다고 가정합니다.
# without docker
make clean
make fmt
make lint
make test
make ready # runs fmt, lint and test
# docker, assuming there's a Dockerfile
make docker-build # makes the build
make docker-ready # runs fmt, lint and test in the built image
이것은 언어 디렉토리의 루트에 make.cmd
가 있다고 가정합니다.
@ rem without docker
.make.cmd clean
.make.cmd fmt
.make.cmd lint
.make.cmd test
.make.cmd ready @ rem runs fmt, lint and test
@ rem docker, assuming there's a Dockerfile
.make.cmd docker-build @ rem makes the build
.make.cmd docker-ready @ rem runs fmt, lint and test in the built image