mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Add tests for cat and fix a couple issues
This commit is contained in:
parent
61a232eb0a
commit
13fd72e1f2
5 changed files with 95 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -9,4 +9,11 @@ build:
|
|||
sh -c 'rustc --out-dir build/ cat/cat.rs'
|
||||
sh -c 'rustc --out-dir build/ whoami/whoami.rs'
|
||||
|
||||
test:
|
||||
rm -rf tmp
|
||||
mkdir tmp
|
||||
sh -c 'rustc -o tmp/cat_test cat/test.rs'
|
||||
sh -c 'tmp/cat_test'
|
||||
rm -rf tmp
|
||||
|
||||
.PHONY: build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue