Merge pull request #6 from codecrafters-io/sync
This commit is contained in:
commit
42834dc08c
17
README.md
17
README.md
|
@ -13,19 +13,8 @@ and more.
|
||||||
|
|
||||||
# Passing the first stage
|
# Passing the first stage
|
||||||
|
|
||||||
CodeCrafters runs tests when you do a `git push`. Make an empty commit and push
|
The entry point for your SQLite implementation is in `src/main.rs`. Study and
|
||||||
your solution to see the first stage fail.
|
uncomment the relevant code, and push your changes to pass the first stage:
|
||||||
|
|
||||||
```sh
|
|
||||||
git commit --allow-empty -m "Running tests"
|
|
||||||
git push origin master
|
|
||||||
```
|
|
||||||
|
|
||||||
You should see a failure message that says it expected "number of tables: <n>"
|
|
||||||
to be present.
|
|
||||||
|
|
||||||
Go to `src/main.rs` and uncomment the `.dbinfo` command implementation. Commit
|
|
||||||
and push your changes to pass the first stage:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git add .
|
git add .
|
||||||
|
@ -35,7 +24,7 @@ git push origin master
|
||||||
|
|
||||||
Time to move on to the next stage!
|
Time to move on to the next stage!
|
||||||
|
|
||||||
# Running Your Program Locally
|
# Setup for stages 2 & beyond
|
||||||
|
|
||||||
1. Ensure you have `cargo (1.54)` installed locally
|
1. Ensure you have `cargo (1.54)` installed locally
|
||||||
1. Run `./your_sqlite3.sh` to run your program, which is implemented in
|
1. Run `./your_sqlite3.sh` to run your program, which is implemented in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user