Skip to content

Commit

Permalink
chore: release 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jan 24, 2023
1 parent d25c18a commit 75cc08c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "catj"
version = "0.1.1"
version = "0.1.2"
authors = ["XLor yjl9903@outlook.com"]
edition = "2021"

Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $ cargo install catj

# Check installation
$ catj --version
catj 0.1.2

# Init cgroup for current user
$ ./init.sh $USER
Expand All @@ -36,10 +37,19 @@ $ ./init.sh $USER
$ catj compile ./fixtures/aplusb/source/ac.cpp -o a.out

# Run a.out
$ catj run --stdin ./fixtures/aplusb/testcases/1.in -- ./a.out
$ catj run --stdin ./fixtures/aplusb/testcases/1.in --read . -- ./a.out
2

# Generate report
$ catj --report run --stdin ./fixtures/aplusb/testcases/1.in --stdout ./sub.out -- ./a.out
$ catj --report run --stdin ./fixtures/aplusb/testcases/1.in --stdout ./sub.out --read . -- ./a.out
# or
$ catj -r run -i ./fixtures/aplusb/testcases/1.in -o ./sub.out -R . -- ./a.out
Status 0
Signal ✓
Time 1 ms
Time user 1 ms
Time sys 0 ms
Memory 0 KB
```

## License
Expand Down

0 comments on commit 75cc08c

Please sign in to comment.