started working on windows native version
This commit is contained in:
parent
d43bd249d1
commit
222e4c43da
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
flist
|
flist
|
||||||
|
flist.exe
|
5
Makefile
5
Makefile
@ -3,6 +3,11 @@ build:
|
|||||||
v -o flist .
|
v -o flist .
|
||||||
sudo ./flist install
|
sudo ./flist install
|
||||||
|
|
||||||
|
build-win:
|
||||||
|
v fmt -w flist.v
|
||||||
|
v -o flist .
|
||||||
|
./flist.exe install
|
||||||
|
|
||||||
rebuild:
|
rebuild:
|
||||||
sudo rm flist
|
sudo rm flist
|
||||||
sudo flist uninstall
|
sudo flist uninstall
|
||||||
|
22
README.md
22
README.md
@ -13,6 +13,8 @@
|
|||||||
- [Linux](#linux)
|
- [Linux](#linux)
|
||||||
- [macOS](#macos)
|
- [macOS](#macos)
|
||||||
- [Windows](#windows)
|
- [Windows](#windows)
|
||||||
|
- [WSL](#wsl)
|
||||||
|
- [Native Windows](#native-windows)
|
||||||
- [Troubleshooting](#troubleshooting)
|
- [Troubleshooting](#troubleshooting)
|
||||||
- [Development](#development)
|
- [Development](#development)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
@ -99,7 +101,25 @@ flist <command> [arguments]
|
|||||||
|
|
||||||
### Windows
|
### 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
|
## Troubleshooting
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user