This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request
#1185
from linquize/build-win
Update build.sh for Windows
tags/v1.21.12.1
无闻
10 years ago
parent
e69f09f50e
08f7547acf
commit
9cf334fca9
1 changed files
with
8 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-2
scripts/build.sh
+ 8
- 2
scripts/build.sh
View File
@@ -4,8 +4,14 @@ rm -rf $outPath
mkdir $outPath
go build ../gogs.go
chmod +x gogs
mv gogs $outPath/
PLATFORM=`uname | cut -d _ -f 1`
if [ $PLATFORM = "MINGW32" ] || [ $PLATFORM = "MINGW64" ] || [ $PLATFORM = "CYGWIN" ]; then
GOGS_EXE=gogs.exe
else
GOGS_EXE=gogs
fi
chmod +x $GOGS_EXE
mv $GOGS_EXE $outPath/
cp -r ../conf/ $outPath/conf/
cp -r ../custom/ $outPath/custom/
Write
Preview
Loading…
Cancel
Save