23 lines
		
	
	
		
			371 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			371 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env zsh
 | 
						|
source ${0:A:h}/../../deploy
 | 
						|
source env.zsh
 | 
						|
 | 
						|
install() {
 | 
						|
  case $(_os) in
 | 
						|
    macos) brew install stack ghc ;;
 | 
						|
    arch)  pacaur --needed --noedit --noconfirm -S ghc stack-static ;;
 | 
						|
  esac
 | 
						|
  stack config set system-ghc --global true
 | 
						|
  stack setup && stack install ShellCheck ghc-mod
 | 
						|
}
 | 
						|
 | 
						|
update() {
 | 
						|
  stack update
 | 
						|
}
 | 
						|
 | 
						|
# link() {}
 | 
						|
 | 
						|
# clean() {}
 | 
						|
 | 
						|
init "$@"
 |