Skip to content

Commit

Permalink
chore: Updated dotfiles and version numbers
Browse files Browse the repository at this point in the history
Added build dir to gitignore
Fixed unupdated version numbers
  • Loading branch information
joacortez committed Jun 4, 2024
1 parent 769f805 commit 994fa4d
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ current_version = 0.0.1
commit = True
tag = True

[bumpversion:file:wix.json]
[bumpversion:file:build/product.wxs]

[bumpversion:file:.github/workflows/WinInstaller.yml]

[bumpversion:file:src/utils/fzf-win.cmd]

[bumpversion:file:README.md]
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ modules.order
Module.symvers
Mkfile.old
dkms.conf

/build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ So why wait? Start exploring `fzf-win` today and discover a better way to naviga

## Installation 📥

Getting started with `fzf-win` is easy! You can either download the latest installer from our [releases page](https://github.com/joacortez/fzf-win/releases) or directly from this [link](https://github.com/joacortez/fzf-win/releases/download/v0.0.2/fzf-win_v0.0.2_x86_Windows.msi) 📦.
Getting started with `fzf-win` is easy! You can either download the latest installer from our [releases page](https://github.com/joacortez/fzf-win/releases) or directly from this [link](https://github.com/joacortez/fzf-win/releases/download/v1.0.0/fzf-win_v1.0.0_x86_Windows.msi) 📦.

For the DIY enthusiasts out there, you can also clone the repo and use `build.bat` to build the installer yourself. No compilation is needed, just add the `src` directory to your path and you're good to go! 🛠️

Expand Down
19 changes: 19 additions & 0 deletions fzf-win.todo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Features
- [ ] Directory listing using bfs instead of dfs
- [ ] Move Config files to config dir or program files
- [ ] UI: Health check for all the dependencies
- [ ] Version print
- [ ] Update check

# Bug Fixes
- [X] Not trigger action aborting fzf
- [X] opening vscode is a blocking call


# Other Changes
- [ ] Chore: Add docs
- [ ] Chore: Add comments
- [ ] Chore: Fill README.md
- [ ] Installer: Not Overwrite existing config files
- [ ] Installer: Add repair option
- [ ] Installer: Add update option
8 changes: 2 additions & 6 deletions src/utils/fzf-win.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if "!IS_DIR!" == "1" (
if "%DISABLE_GIT" == "1" (
set "list_command=dir /ad /b /s"
) else (
set "list_command=!dependency_mapping[git] ls-tree -d -r --name-only HEAD"
set "list_command=!dependency_mapping[git]! ls-tree -d -r --name-only HEAD"
)

) else (
Expand All @@ -94,7 +94,6 @@ if "!IS_DIR!" == "1" (
)

if not "!DELIMITER!" == "" (
echo setting delhe
set "list_command=!list_command! --field-match-separator !DELIMITER!"
)

Expand Down Expand Up @@ -153,7 +152,6 @@ if not "!IS_DIR!" == "1" (

if "!USE_ANSI!" == "1" (
%LOG% enabling fzf ansi color parsing
echo setting ansi
set fzf_command=!fzf_command! --ansi
)

Expand All @@ -164,8 +162,6 @@ if not "!preview_command!" == "" (

set "full_command=!list_command! ^| !fzf_command!"

echo "!full_command!"

%LOG% get files command: "!list_command!"
%LOG% fzf command: "!fzf_command!"
%LOG% full_command: "!full_command!"
Expand Down Expand Up @@ -266,7 +262,7 @@ goto :EOF

:: print the current version ::
:version
echo fzf-win version: 0.0.2
echo fzf-win version: 1.0.0
goto :EOF

:: Run custom one-time command ::
Expand Down

0 comments on commit 994fa4d

Please sign in to comment.