Skip to content

Commit

Permalink
dev: modify makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
wwhai committed Nov 17, 2022
1 parent aa5d6d3 commit b64a98e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ windows:
.PHONY: arm32
arm32:
CGO_ENABLED=1 GOOS=linux GOARCH=arm CC=arm-linux-gnueabi-gcc\
go build -ldflags "-s -w -linkmode external -extldflags -static"
go build -ldflags "-s -w -linkmode external -extldflags -static" -o ${APP}-arm32

.PHONY: arm64
arm64:
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc\
go build -ldflags "-s -w -linkmode external -extldflags -static"
go build -ldflags "-s -w -linkmode external -extldflags -static" -o ${APP}-arm64

.PHONY: run
run:
Expand Down
8 changes: 4 additions & 4 deletions typex/version.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//
// Warning:
// This file is generated by go compiler, don't change it!!!
// Generated Time: "2022-10-09 22:12:18"
// Build on: Linux wangwenhai-pc-deepin 5.15.45-amd64-desktop #1 SMP Tue Jun 7 21:44:04 CST 2022 x86_64 GNU/Linux
// Generated Time: "2022-11-17 14:13:01"
// Build on: Linux u22 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
//
package typex

Expand All @@ -12,7 +12,7 @@ type Version struct {
}

var DefaultVersion = Version{
Version: `V0.3.3`,
ReleaseTime: "2022-10-09 22:12:18",
Version: `v0.4.0`,
ReleaseTime: "2022-11-17 14:13:01",
}

4 changes: 2 additions & 2 deletions utils/banner.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

|
|* Welcome to RULEX framework world <'_'>
|* Version: V0.3.3-03e36fe1b159387
|* Build at: 2022-10-09 22:12:18
|* Version: v0.4.0-aa5d6d3bee66bab
|* Build at: 2022-11-17 14:13:01
|* Document: https://rulex.pages.dev
|

0 comments on commit b64a98e

Please sign in to comment.