Skip to content

Commit

Permalink
v: Update to V 0.4.5 ed7f1ff (#196)
Browse files Browse the repository at this point in the history
This aggregates the awesome work by @ttytm in #192, #193, #194 and #195.
  • Loading branch information
elliotchance authored Apr 21, 2024
1 parent 2b4bf7a commit 5f7596e
Show file tree
Hide file tree
Showing 10 changed files with 251 additions and 254 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up V version latest
uses: nocturlab/setup-vlang-action@v1
uses: vlang/setup-v@v1.4
with:
id: v
v-version: master
check-latest: true

- name: Verify fmt
run: make fmt-verify
Expand All @@ -52,13 +51,12 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up V version latest
uses: nocturlab/setup-vlang-action@v1
uses: vlang/setup-v@v1.4
with:
id: v
v-version: master
check-latest: true

- name: Build macOS binaries
run: |
Expand All @@ -78,13 +76,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up V version latest
uses: nocturlab/setup-vlang-action@v1
uses: vlang/setup-v@v1.4
with:
id: v
v-version: master
check-latest: true

- name: Build linux binaries
run: |
Expand All @@ -107,13 +104,12 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up V version latest
uses: nocturlab/setup-vlang-action@v1
uses: vlang/setup-v@v1.4
with:
id: v
v-version: master
check-latest: true

- name: Build Windows binaries
run: |
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ test: oldv
$(V) -stats $(BUILD_OPTIONS) $(PROD) test vsql

btree-test: oldv
$(V) -stats $(BUILD_OPTIONS) $(PROD) test vsql/btree_test.v
$(V) -stats $(BUILD_OPTIONS) $(PROD) vsql/btree_test.v

sql-test: oldv
$(V) -stats $(BUILD_OPTIONS) test vsql/sql_test.v
$(V) -stats $(BUILD_OPTIONS) vsql/sql_test.v

# CLI Tests

Expand Down
2 changes: 1 addition & 1 deletion cmd/vsql/in.v
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn in_command(cmd cli.Command) ! {
mut stmt := ''
for !f.eof() {
mut buf := []u8{len: 100}
f.read_bytes_into_newline(mut buf) or { return err }
f.read_bytes_with_newline(mut buf) or { return err }

line := buf.bytestr()
stmt += line.trim_right('\0 \n;')
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx==4.2.0
sphinx==5.0.0
sphinx_rtd_theme==1.0.0
readthedocs-sphinx-search==0.1.1
Loading

0 comments on commit 5f7596e

Please sign in to comment.