mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Prettify
This commit is contained in:
parent
e234471b1e
commit
455a384eb0
2 changed files with 5 additions and 5 deletions
|
@ -13,11 +13,11 @@ cd ..
|
||||||
rd /s /q embed\bindata\public
|
rd /s /q embed\bindata\public
|
||||||
mkdir embed\bindata\public
|
mkdir embed\bindata\public
|
||||||
echo "Copying Ember assets folder"
|
echo "Copying Ember assets folder"
|
||||||
robocopy /e /NFL /NDL /NJH gui\dist-prod\assets embed\bindata\public\assets
|
robocopy /e /NFL /NDL /NJH gui\dist-prod\assets embed\bindata\public\assets
|
||||||
echo "Copying Ember codemirror folder"
|
echo "Copying Ember codemirror folder"
|
||||||
robocopy /e /NFL /NDL /NJH gui\dist-prod\codemirror embed\bindata\public\codemirror
|
robocopy /e /NFL /NDL /NJH gui\dist-prod\codemirror embed\bindata\public\codemirror
|
||||||
echo "Copying Ember tinymce folder"
|
echo "Copying Ember tinymce folder"
|
||||||
robocopy /e /NFL /NDL /NJH gui\dist-prod\tinymce embed\bindata\public\tinymce
|
robocopy /e /NFL /NDL /NJH gui\dist-prod\tinymce embed\bindata\public\tinymce
|
||||||
echo "Copying Ember sections folder"
|
echo "Copying Ember sections folder"
|
||||||
robocopy /e /NFL /NDL /NJH gui\dist-prod\sections embed\bindata\public\sections
|
robocopy /e /NFL /NDL /NJH gui\dist-prod\sections embed\bindata\public\sections
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ echo "Generating in-memory static assets..."
|
||||||
go get -u github.com/jteeuwen/go-bindata/...
|
go get -u github.com/jteeuwen/go-bindata/...
|
||||||
go get -u github.com/elazarl/go-bindata-assetfs/...
|
go get -u github.com/elazarl/go-bindata-assetfs/...
|
||||||
cd embed
|
cd embed
|
||||||
go generate
|
go generate
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "Compiling Windows"
|
echo "Compiling Windows"
|
||||||
|
@ -53,4 +53,4 @@ go build -gcflags=-trimpath=%GOPATH% -asmflags=-trimpath=%GOPATH% -o bin/documiz
|
||||||
|
|
||||||
echo "Compiling Darwin"
|
echo "Compiling Darwin"
|
||||||
set GOOS=darwin
|
set GOOS=darwin
|
||||||
go build -gcflags=-trimpath=%GOPATH% -asmflags=-trimpath=%GOPATH% -o bin/documize-community-darwin-amd64 edition/community.go
|
go build -gcflags=-trimpath=%GOPATH% -asmflags=-trimpath=%GOPATH% -o bin/documize-community-darwin-amd64 edition/community.go
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -54,4 +54,4 @@ echo "Finished."
|
||||||
|
|
||||||
# CGO_ENABLED=0 GOOS=linux go build -a -ldflags="-s -w" -installsuffix cgo
|
# CGO_ENABLED=0 GOOS=linux go build -a -ldflags="-s -w" -installsuffix cgo
|
||||||
# go build -ldflags '-d -s -w' -a -tags netgo -installsuffix netgo test.go
|
# go build -ldflags '-d -s -w' -a -tags netgo -installsuffix netgo test.go
|
||||||
# ldd test
|
# ldd test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue