plsync 0.2.1

Parallel local only `rsync` implementation in Rust
Documentation
prog := plsync

debug ?=

$(info debug is $(debug))

ifdef debug
  release :=
  target :=debug
  extension :=-debug
else
  release :=--release
  target :=release
  extension :=
endif

build:
	cargo build $(release)

test:
	cargo test

install:
	cp target/$(target)/$(prog) ~/bin/$(prog)$(extension)

publish:
  cargo publish
  
all: build test install

docker:
	docker build -t plsync .

.PHONY: all build test install docker help

help:
	@echo "usage: make $(prog) [debug=1]"