Skip to content

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ddiidev committed Jan 10, 2024
1 parent b728e88 commit 641336b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-page-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
- name: V doctor
run: v doctor

- name: Install WindowsReg
- name: Install winreg
run: |
v install ldedev.windowsreg
v install ldedev.winreg
- name: Move windowsreg source code to path start
run: sudo mv ~/.vmodules/ldedev/windowsreg /windowsreg
- name: Move winreg source code to path start
run: sudo mv ~/.vmodules/ldedev/winreg /winreg

- name: Construct doc
run: v doc -comments -readme -f html -m /windowsreg
run: v doc -comments -readme -f html -m /winreg

- name: Setup Pages
uses: actions/configure-pages@v3
Expand All @@ -55,7 +55,7 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: '/windowsreg/_docs'
path: '/winreg/_docs'

- name: Deploy to GitHub Pages
id: deployment
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
- name: V doctor
run: v doctor

- name: Install windowsreg
- name: Install winreg
run: |
v install ldedev.windowsreg
v install ldedev.winreg
- name: Move windowsreg source code to path start
run: mv ~/.vmodules/ldedev/windowsreg ~/windowsreg
- name: Move winreg source code to path start
run: mv ~/.vmodules/ldedev/winreg ~/winreg

- name: Verify Fmt
run: v fmt -verify ~/windowsreg
run: v fmt -verify ~/winreg

run-tests:
runs-on: windows-latest
Expand All @@ -52,12 +52,12 @@ jobs:
- name: V doctor
run: v doctor

- name: Install windowsreg
- name: Install winreg
run: |
v install ldedev.windowsreg
v install ldedev.winreg
- name: Move windowsreg source code to path start
run: mv $env:userprofile\.vmodules\ldedev\windowsreg $env:userprofile\desktop\windowsreg
- name: Move winreg source code to path start
run: mv $env:userprofile\.vmodules\ldedev\winreg $env:userprofile\desktop\winreg

- name: Execute Tests using Pure V Backend
run: v -cc tcc -stats test $env:userprofile\desktop\windowsreg
run: v -cc tcc -stats test $env:userprofile\desktop\winreg
4 changes: 2 additions & 2 deletions handle_key.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module winreg

@[noinit]
pub struct HandleKey {
hkey HKEYS
mode AccessMode
hkey HKEYS
mode AccessMode
pub:
subkey string
hkey_ptr voidptr
Expand Down

0 comments on commit 641336b

Please sign in to comment.