1 # Shortcut for common operations:
3 CRATES
=proxmox proxmox-api-macro proxmox-sortable-macro
5 # By default we just run checks:
10 deb
: $(foreach c
,$(CRATES
), $c-deb
)
11 echo
$(foreach c
,$(CRATES
), $c-deb
)
18 sudo
-k dpkg
-i build
/librust-
*.deb
28 # Run the api-test server, serving the api-test/www/ subdir as 'www' dir over
32 cargo run
-p api-test
-- api-test
/www
/
34 # Prints a diff between the current code and the one rustfmt would produce
37 cargo
+nightly fmt
-- --check
39 # Doc without dependencies
55 dcmd
--deb rust-
$*_
*.changes \
56 | grep
-v
'.changes$$' \
58 | ssh
-X repoman@repo.proxmox.com upload
--product devel
--dist buster