-
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
Showing
5 changed files
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
sed '/^\s*#/d' tools/samples.tz | | ||
while IFS= read -r l | ||
do | ||
TZ=$l date | ||
done |
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,19 @@ | ||
#!/bin/sh | ||
|
||
version=1.1.0 | ||
export CFLAGS=-O2 | ||
|
||
clang -arch arm64 -o twc twc.c | ||
tar -czvf twc-$version-arm64-apple-darwin.tar.gz twc | ||
|
||
clang -arch x86_64 -o twc twc.c | ||
tar -czvf twc-$version-x86_64-apple-darwin.tar.gz twc | ||
|
||
docker build -t twc . | ||
docker run --name dist twc | ||
docker cp dist:/app/twc . | ||
docker stop dist | ||
docker rm dist | ||
tar -czvf twc-$version-arm64-linux-debian.tar.gz twc | ||
|
||
# docker run --name dist --rm twc |
File renamed without changes.
File renamed without changes.