-
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
xypwn
committed
May 15, 2023
1 parent
7307393
commit 9fda156
Showing
1,465 changed files
with
744,825 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env sh | ||
|
||
NAME="$(go list -m)" | ||
SRCDIR="./cmd/southpark-de-downloader" | ||
BUILDDIR="build" | ||
|
||
[ "$1" = "clean" ] && echo "Cleaning $BUILDDIR" && rm -rf "$BUILDDIR" && exit 0 | ||
|
||
build() { | ||
# [linux|dragonfly|freebsd|netbsd|openbsd|plan9|solaris|darwin|windows]" | ||
OS="$1" | ||
# [arm|arm64|ppc64|ppc64le|mips64|386|amd64] | ||
ARCH="$2" | ||
# compiler executable, for example cc or x86_64-w64-mingw32-cc | ||
CC="$3" | ||
|
||
echo "Building for $OS on $ARCH using $CC" | ||
|
||
[ "$OS" = "windows" ] && EXT=".exe" | ||
|
||
mkdir -p "$BUILDDIR" | ||
|
||
env GOOS="$OS" GOARCH="$ARCH" CC="$CC" CGO_ENABLED=1 go build -ldflags "-s -w" -o "$BUILDDIR/$NAME-$OS-$ARCH$EXT" "$SRCDIR" | ||
} | ||
|
||
#build linux 386 cc & | ||
build linux amd64 cc & | ||
#build linux arm cc & | ||
#build linux arm64 cc & | ||
#build darwin amd64 & | ||
#build windows 386 winegcc & | ||
build windows amd64 x86_64-w64-mingw32-cc & | ||
|
||
wait |
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,5 @@ | ||
[Details] | ||
Icon = "Icon.png" | ||
Name = "Southpark Downloader" | ||
ID = "org.nobrain.southparkdownloaderui" | ||
Build = 96 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.