started working on windows native version
This commit is contained in:
parent
d43bd249d1
commit
222e4c43da
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
flist
|
||||
flist.exe
|
5
Makefile
5
Makefile
@ -3,6 +3,11 @@ build:
|
||||
v -o flist .
|
||||
sudo ./flist install
|
||||
|
||||
build-win:
|
||||
v fmt -w flist.v
|
||||
v -o flist .
|
||||
./flist.exe install
|
||||
|
||||
rebuild:
|
||||
sudo rm flist
|
||||
sudo flist uninstall
|
||||
|
22
README.md
22
README.md
@ -13,6 +13,8 @@
|
||||
- [Linux](#linux)
|
||||
- [macOS](#macos)
|
||||
- [Windows](#windows)
|
||||
- [WSL](#wsl)
|
||||
- [Native Windows](#native-windows)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Development](#development)
|
||||
- [Contributing](#contributing)
|
||||
@ -99,7 +101,25 @@ flist <command> [arguments]
|
||||
|
||||
### Windows
|
||||
|
||||
For now, we recommend to use WSL and follow the Linux steps.
|
||||
#### WSL
|
||||
|
||||
You can use WSL with Ubuntu to deploy the Flist CLI on Windows.
|
||||
|
||||
#### Native Windows
|
||||
|
||||
When using the make commands, add `-win` to the commands: `make build-win`, `make rebuild-win`, `make delete-win`.
|
||||
|
||||
- Run make for Windows on Powershell Admin:
|
||||
```
|
||||
git clone https://git.ourworld.tf/tfgrid/flist_cli_v
|
||||
cd flist_cli_v
|
||||
make build-win
|
||||
```
|
||||
- Run in Powershell Admin the following lines then restart the shell
|
||||
```
|
||||
$newPath = 'C:\Program Files\flist'
|
||||
setx PATH "$($env:PATH);$newPath"
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user