mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 06:24:11 +01:00 
			
		
		
		
	Rename all occurrences of gogs.go
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
		
							parent
							
								
									a2514904cb
								
							
						
					
					
						commit
						f01d927efb
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -24,7 +24,7 @@ check: test
 | 
			
		||||
dist: release
 | 
			
		||||
 | 
			
		||||
govet:
 | 
			
		||||
	$(GOVET) gogs.go
 | 
			
		||||
	$(GOVET) main.go
 | 
			
		||||
	$(GOVET) models modules routers
 | 
			
		||||
 | 
			
		||||
build: $(GENERATED)
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,10 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
outPath=./output
 | 
			
		||||
 | 
			
		||||
rm -rf $outPath
 | 
			
		||||
mkdir $outPath
 | 
			
		||||
 | 
			
		||||
go build ../gogs.go
 | 
			
		||||
go build ../main.go -o gitea
 | 
			
		||||
PLATFORM=`uname | cut -d _ -f 1`
 | 
			
		||||
if [ $PLATFORM = "MINGW32" ] || [ $PLATFORM = "MINGW64" ] || [ $PLATFORM = "CYGWIN" ]; then
 | 
			
		||||
	GOGS_EXE=gogs.exe
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
outPlattform=freebsd
 | 
			
		||||
outArch=amd64
 | 
			
		||||
outPath=./output_$outPlattform_$outArch
 | 
			
		||||
@ -5,7 +6,7 @@ outPath=./output_$outPlattform_$outArch
 | 
			
		||||
rm -rf $outPath
 | 
			
		||||
mkdir $outPath
 | 
			
		||||
 | 
			
		||||
CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../gogs.go
 | 
			
		||||
CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../main.go -o gitea
 | 
			
		||||
chmod +x gogs
 | 
			
		||||
mv gogs $outPath/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
outPlattform=linux
 | 
			
		||||
outArch=amd64
 | 
			
		||||
outPath=./output_$outPlattform_$outArch
 | 
			
		||||
@ -5,7 +6,7 @@ outPath=./output_$outPlattform_$outArch
 | 
			
		||||
rm -rf $outPath
 | 
			
		||||
mkdir $outPath
 | 
			
		||||
 | 
			
		||||
CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../gogs.go
 | 
			
		||||
CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../main.go -o gitea
 | 
			
		||||
chmod +x gogs
 | 
			
		||||
mv gogs $outPath/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user