Skip to content
/ zit Public

Exploring Zig by implementing some git components

Notifications You must be signed in to change notification settings

NyuB/zit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zit

Exploring Zig by implementing some git components

Currently implemented

  • SHA1
  • Myers diff (non-linear 'naive' version)
  • zlib decompression

Requirements

  • Zig
  • make if you want to avoid running everything manually. For Windows users there is mingw-make
  • Cram or Docker (mandatory for Windows users) to run the end-to-end tests

Developing

Compile the project

make build

Run Zig unit tests

make test

Run end to end tests with cram

make -C cram-tests test

Run end-to-end tests in docker

  • (Once) build the docker image: make test-image-build
  • run the test suite: make test-cram

About

Exploring Zig by implementing some git components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages