diff --git a/.gitignore b/.gitignore index cd09b0b..063a7e7 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,13 @@ dist/ *.suo *.user +*.gz +*.xz +*.tar +*.zip +*.rar +*.7z +*.bak + + + diff --git a/Justfile b/Justfile index 797473e..86fbfb5 100644 --- a/Justfile +++ b/Justfile @@ -12,6 +12,14 @@ start-release: build-container-release remove-podman-containers remove-podman-containers: podman container rm -f ttime +# Saves the release container to a tarball, pigz is just gzip but multithreaded +save-release: build-container-release + podman save --format=oci-archive ttime-server | pigz -9 > ttime-server-pigz.tar.gz + +# Loads the release container from a tarball +load-release file: + podman load --input {{file}} + # Cleans up everything related to the project clean: remove-podman-containers podman image rm -f ttime-server