canvas-sync 0.4.7

A barebones CLI tool that keeps local folders up-to-date with online folders on Canvas.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include .env
BIN=./target/debug/canvas-sync

main:
	cargo build || exit 1
	@echo "~~~~~~~~~~~~~~ FETCH ~~~~~~~~~~~~~~~~~~~"
	@ RUST_LOG=canvas_sync=debug $(BIN) fetch
	@echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

null:
	cargo build || exit 1
	@ $(BIN)

quiet:
	cargo build || exit 1
	@echo "~~~~~~~~~~~~~~ FETCH ~~~~~~~~~~~~~~~~~~~"
	@ $(BIN) fetch
	@echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"