mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-11-01 00:06:04 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| set -euo pipefail
 | |
| 
 | |
| . `dirname $0`/env.sh
 | |
| 
 | |
| rm -rf $target_dir
 | |
| dotnet publish $build_args
 | |
| (cd ../../.. && mix release app --overwrite --path=${target_dir}/rel)
 | |
| 
 | |
| vc_redist_path="bin/vc_redist.x64.exe"
 | |
| if [ ! -f $vc_redist_path ]; then
 | |
|   url="https://aka.ms/vs/17/release/vc_redist.x64.exe"
 | |
|   echo "downloading $url"
 | |
|   curl -L --fail --output $vc_redist_path $url
 | |
| fi
 | |
| 
 | |
| makensis //DERTS_VERSION=`elixir -e "IO.puts :erlang.system_info(:version)"` Installer.nsi
 |