File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ GO_FLAGS=-ldflags="-s -w"
10
10
UNAME := $(shell uname)
11
11
12
12
ifeq ($(BLADE_VERSION ) , )
13
- BLADE_VERSION=1.1 .0
13
+ BLADE_VERSION=1.2 .0
14
14
endif
15
15
16
16
BUILD_TARGET =target
31
31
32
32
33
33
# build os
34
- build : pre_build build_yaml build_osbin
34
+ build : pre_build build_yaml build_osbin build_os
35
35
36
- build_darwin : pre_build build_yaml build_osbin_darwin
36
+ build_darwin : pre_build build_yaml build_osbin_darwin build_os
37
37
38
38
pre_build :
39
39
rm -rf $(BUILD_TARGET_PKG_DIR ) $(BUILD_TARGET_PKG_FILE_PATH )
@@ -102,6 +102,9 @@ build_kernel_delay: exec/bin/kernel/delay/delay.go
102
102
build_kernel_error : exec/bin/kernel/error/error.go
103
103
$(GO ) build $(GO_FLAGS ) -o $(BUILD_TARGET_BIN ) /chaos_straceerror $<
104
104
105
+ build_os : main.go
106
+ $(GO ) build $(GO_FLAGS ) -o $(BUILD_TARGET_BIN ) /chaos_os $<
107
+
105
108
cp_strace :
106
109
cp extra/strace $(BUILD_TARGET_BIN ) /
107
110
Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
7
- github.com/chaosblade-io/chaosblade-spec-go v1.2.0-dev
7
+ github.com/chaosblade-io/chaosblade-spec-go v1.0.1-0.20210531022335-b8bb425f7cb9
8
8
github.com/containerd/cgroups v0.0.0-20191011165608-5fbad35c2a7e
9
9
github.com/go-ole/go-ole v1.2.5 // indirect
10
10
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c
@@ -14,7 +14,3 @@ require (
14
14
go.uber.org/automaxprocs v1.3.0
15
15
golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975
16
16
)
17
-
18
- replace (
19
- github.com/chaosblade-io/chaosblade-spec-go => /Users/Shared/ChaosBladeProjects/chaosblade-opensource/chaosblade-spec-go
20
- )
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ
2
2
github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
3
3
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk =
4
4
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d /go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg =
5
+ github.com/chaosblade-io/chaosblade-spec-go v1.0.1-0.20210531022335-b8bb425f7cb9 h1:wj67ONA6033YRlqH17vBZ8bp5O41HZLaFtnSVo4uVCE =
6
+ github.com/chaosblade-io/chaosblade-spec-go v1.0.1-0.20210531022335-b8bb425f7cb9 /go.mod h1:xUF+8r54FphQjBR8fVPnweVqzu7EitE15UsnZ57O5gk =
5
7
github.com/chaosblade-io/chaosblade-spec-go v1.2.0-dev h1:tdMjw1FXo9IAzBC2eNcUsBhr8bIgoFcp2TPmIZG8TTU =
6
8
github.com/chaosblade-io/chaosblade-spec-go v1.2.0-dev /go.mod h1:xUF+8r54FphQjBR8fVPnweVqzu7EitE15UsnZ57O5gk =
7
9
github.com/containerd/cgroups v0.0.0-20191011165608-5fbad35c2a7e h1:3bt+8T1I/CuYx+a5ww32+UT4fc9x8iRiXrhfduFTlBU =
You can’t perform that action at this time.
0 commit comments