mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
add word convert
This commit is contained in:
parent
a9e182de2e
commit
43a951f02e
2 changed files with 25 additions and 1 deletions
19
build-wordconvert.sh
Executable file
19
build-wordconvert.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#! /bin/bash
|
||||
|
||||
NOW=$(date)
|
||||
echo "Build process started $NOW"
|
||||
|
||||
cd ..
|
||||
for arch in amd64 ; do
|
||||
for os in darwin linux windows ; do
|
||||
if [ "$os" == "windows" ] ; then
|
||||
echo "Compiling wordconvert-$os.exe"
|
||||
env GOOS=$os GOARCH=$arch go build -o ./bin/wordconvert-$os.exe github.com/documize/community/cmd/wordconvert
|
||||
else
|
||||
echo "Compiling wordconvert-$os"
|
||||
env GOOS=$os GOARCH=$arch go build -o ./bin/wordconvert-$os github.com/documize/community/cmd/wordconvert
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
echo "Finished."
|
Loading…
Add table
Add a link
Reference in a new issue