File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ PLANTUML ?= plantuml # may also be "java -jar plantuml.jar" if installed elsewhe
9
9
10
10
GOOS ?= $(shell $(GO ) env GOOS)
11
11
ifeq ($(GOOS ) ,windows)
12
+ bat = .bat
12
13
exe = .exe
13
14
endif
14
15
@@ -27,6 +28,7 @@ exe: _output/bin/limactl$(exe)
27
28
.PHONY : binaries
28
29
binaries : clean \
29
30
_output/bin/lima \
31
+ _output/bin/lima$(bat ) \
30
32
_output/bin/limactl$(exe ) \
31
33
_output/bin/nerdctl.lima \
32
34
_output/bin/docker.lima \
@@ -49,6 +51,11 @@ _output/bin/lima:
49
51
mkdir -p _output/bin
50
52
cp -a ./cmd/lima $@
51
53
54
+ .PHONY : _output/bin/lima.bat
55
+ _output/bin/lima.bat :
56
+ mkdir -p _output/bin
57
+ cp -a ./cmd/lima.bat $@
58
+
52
59
.PHONY : _output/bin/nerdctl.lima
53
60
_output/bin/nerdctl.lima :
54
61
mkdir -p _output/bin
@@ -100,6 +107,7 @@ uninstall:
100
107
@test -f " $( DEST) /bin/lima" || echo " lima not found in $( DEST) prefix"
101
108
rm -rf \
102
109
" $( DEST) /bin/lima" \
110
+ " $( DEST) /bin/lima$( bat) " \
103
111
" $( DEST) /bin/limactl$( exe) " \
104
112
" $( DEST) /bin/nerdctl.lima" \
105
113
" $( DEST) /bin/docker.lima" \
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+ IF NOT DEFINED LIMACTL (SET LIMACTL=limactl)
3
+ IF NOT DEFINED LIMA_INSTANCE (SET LIMA_INSTANCE=default)
4
+ %LIMACTL% shell %LIMA_INSTANCE% %*
You can’t perform that action at this time.
0 commit comments