mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	1. updated build
This commit is contained in:
		
							parent
							
								
									f078cd21be
								
							
						
					
					
						commit
						e64998629c
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		
							
								
								
									
										7
									
								
								build
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								build
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -5,8 +5,11 @@ set -ef
 | 
			
		|||
PKGSRC=${PKGSRC:-github.com/RiV-chain/RiV-mesh/src/version}
 | 
			
		||||
PKGNAME=${PKGNAME:-$(sh contrib/semver/name.sh)}
 | 
			
		||||
PKGVER=${PKGVER:-$(sh contrib/semver/version.sh --bare)}
 | 
			
		||||
 | 
			
		||||
LDFLAGS="-X $PKGSRC.buildName=$PKGNAME -X $PKGSRC.buildVersion=$PKGVER"
 | 
			
		||||
if [ $LDFLAGS ]; then
 | 
			
		||||
  LDFLAGS="$LDFLAGS -X $PKGSRC.buildName=$PKGNAME -X $PKGSRC.buildVersion=$PKGVER"
 | 
			
		||||
else
 | 
			
		||||
  LDFLAGS="-X $PKGSRC.buildName=$PKGNAME -X $PKGSRC.buildVersion=$PKGVER"
 | 
			
		||||
fi
 | 
			
		||||
ARGS="-v"
 | 
			
		||||
 | 
			
		||||
while getopts "uaitc:l:dro:p" option
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue