-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
259c355
commit ed7aa2b
Showing
22 changed files
with
290 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
@echo off | ||
echo Building artifacts in /build | ||
set VERSION=%1 | ||
|
||
:: call :build darwin amd64 | ||
:: call :build darwin arm64 | ||
|
||
:: call :build dragonfly amd64 | ||
|
||
:: call :build freebsd 386 | ||
:: call :build freebsd amd64 | ||
:: call :build freebsd arm | ||
|
||
:: call :build linux 386 | ||
call :build linux amd64 | ||
call :build linux arm | ||
call :build linux arm64 | ||
:: call :build linux ppc64 | ||
:: call :build linux ppc64le | ||
:: call :build linux mips | ||
:: call :build linux mipsle | ||
:: call :build linux mips64 | ||
:: call :build linux mips64le | ||
|
||
:: call :build netbsd 386 | ||
:: call :build netbsd amd64 | ||
:: call :build netbsd arm | ||
|
||
:: call :build openbsd 386 | ||
:: call :build openbsd amd64 | ||
:: call :build openbsd arm | ||
|
||
:: call :build plan9 386 | ||
:: call :build plan9 amd64 | ||
|
||
:: call :build solaris amd64 | ||
|
||
call :build windows 386 | ||
call :build windows amd64 | ||
|
||
echo Done! | ||
exit /b | ||
|
||
:build | ||
set GOOS=%~1 | ||
set GOARCH=%~2 | ||
set EXT= | ||
if "%GOOS%"=="windows" ( | ||
set EXT=.exe | ||
) | ||
go build -o build/digital-overdose-bot-v%VERSION%-%GOOS%-%GOARCH%%EXT% . | ||
@echo off | ||
echo Building artifacts in /build | ||
set VERSION=%1 | ||
|
||
:: call :build darwin amd64 | ||
:: call :build darwin arm64 | ||
|
||
:: call :build dragonfly amd64 | ||
|
||
:: call :build freebsd 386 | ||
:: call :build freebsd amd64 | ||
:: call :build freebsd arm | ||
|
||
:: call :build linux 386 | ||
call :build linux amd64 | ||
call :build linux arm | ||
call :build linux arm64 | ||
:: call :build linux ppc64 | ||
:: call :build linux ppc64le | ||
:: call :build linux mips | ||
:: call :build linux mipsle | ||
:: call :build linux mips64 | ||
:: call :build linux mips64le | ||
|
||
:: call :build netbsd 386 | ||
:: call :build netbsd amd64 | ||
:: call :build netbsd arm | ||
|
||
:: call :build openbsd 386 | ||
:: call :build openbsd amd64 | ||
:: call :build openbsd arm | ||
|
||
:: call :build plan9 386 | ||
:: call :build plan9 amd64 | ||
|
||
:: call :build solaris amd64 | ||
|
||
call :build windows 386 | ||
call :build windows amd64 | ||
|
||
echo Done! | ||
exit /b | ||
|
||
:build | ||
set GOOS=%~1 | ||
set GOARCH=%~2 | ||
set EXT= | ||
if "%GOOS%"=="windows" ( | ||
set EXT=.exe | ||
) | ||
go build -o build/digital-overdose-bot-v%VERSION%-%GOOS%-%GOARCH%%EXT% . | ||
echo Built build/digital-overdose-bot-v%VERSION%-%GOOS%-%GOARCH%%EXT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package common | ||
|
||
var VERSION = "0.1.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ext/commands/upgrade.go → extensions/commands/management/upgrade.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ext | ||
package extensions | ||
|
||
import ( | ||
"fmt" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package extensions |
Oops, something went wrong.