Skip to content

Commit

Permalink
docs: update makefile and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkinben committed Mar 10, 2022
1 parent 812aee1 commit 676aca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ For both of them, they have the same format of database file.
This project has only one `.c` file. And you can build it by:

```text
make test
make dummy
./tinydb mydb.db
```

Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ sqlparser:
flex $(SQLPARSER)/sqlex.l
bison -d $(SQLPARSER)/sqlparser.y

test:
dummy:
$(CC) $(INCLUDE) main.c -o tinydb
2 changes: 1 addition & 1 deletion spec/main_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe 'database' do
before do
`make test`
`make dummy`
end
def run_script(commands)
system("if [ -f mydb.db ]; then rm mydb.db; fi")
Expand Down

0 comments on commit 676aca7

Please sign in to comment.