forked from rc/classroom
		
	PPJ cleanup
This commit is contained in:
		
							parent
							
								
									dafd821af9
								
							
						
					
					
						commit
						ba865a9034
					
				
					 9 changed files with 49 additions and 64 deletions
				
			
		| 
						 | 
				
			
			@ -1,25 +1,25 @@
 | 
			
		|||
- name: Check Haskell install status
 | 
			
		||||
  win_stat:
 | 
			
		||||
    path: C:\ghcup\bin\ghc.exe
 | 
			
		||||
  register: file
 | 
			
		||||
# - name: Check Haskell install status
 | 
			
		||||
#   win_stat:
 | 
			
		||||
#     path: C:\ghcup\bin\ghc.exe
 | 
			
		||||
#   register: file
 | 
			
		||||
 | 
			
		||||
- when: not file.stat.exists
 | 
			
		||||
  block:
 | 
			
		||||
    - name: Download Haskell
 | 
			
		||||
      win_get_url:
 | 
			
		||||
        url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
 | 
			
		||||
        dest: 'C:\'
 | 
			
		||||
      register: download
 | 
			
		||||
# - when: not file.stat.exists
 | 
			
		||||
#   block:
 | 
			
		||||
#     - name: Download Haskell
 | 
			
		||||
#       win_get_url:
 | 
			
		||||
#         url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
 | 
			
		||||
#         dest: 'C:\'
 | 
			
		||||
#       register: download
 | 
			
		||||
    
 | 
			
		||||
    - name: Install Haskell
 | 
			
		||||
      win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
 | 
			
		||||
#     - name: Install Haskell
 | 
			
		||||
#       win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
 | 
			
		||||
 | 
			
		||||
    - name: Add Haskell to PATH
 | 
			
		||||
      win_path:
 | 
			
		||||
        elements:
 | 
			
		||||
          C:\ghcup\bin
 | 
			
		||||
#     - name: Add Haskell to PATH
 | 
			
		||||
#       win_path:
 | 
			
		||||
#         elements:
 | 
			
		||||
#           C:\ghcup\bin
 | 
			
		||||
 | 
			
		||||
    - name: Remove temporary files
 | 
			
		||||
      win_file:
 | 
			
		||||
        path: "{{ download.dest }}"
 | 
			
		||||
        state: absent
 | 
			
		||||
#     - name: Remove temporary files
 | 
			
		||||
#       win_file:
 | 
			
		||||
#         path: "{{ download.dest }}"
 | 
			
		||||
#         state: absent
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
- include_tasks: vscode.yml
 | 
			
		||||
- include_tasks: ocaml.yml
 | 
			
		||||
- include_tasks: eclipse.yml
 | 
			
		||||
- include_tasks: haskell.yml
 | 
			
		||||
- include_tasks: swi-prolog.yml
 | 
			
		||||
- include_tasks: rlwrap.yml
 | 
			
		||||
- include_tasks: utop.yml
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										0
									
								
								roles/linroom/tasks/htop.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								roles/linroom/tasks/htop.yml
									
										
									
									
									
										Normal file
									
								
							
							
								
								
									
										4
									
								
								roles/linroom/tasks/utop.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								roles/linroom/tasks/utop.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
- name: Install utop
 | 
			
		||||
  apt:
 | 
			
		||||
    name: utop
 | 
			
		||||
    state: latest
 | 
			
		||||
| 
						 | 
				
			
			@ -1,9 +1,7 @@
 | 
			
		|||
VSCode_Extensions:
 | 
			
		||||
  - VisualStudioExptTeam.vscodeintellicode
 | 
			
		||||
  - arthurwang.vsc-prolog
 | 
			
		||||
  - dramforever.vscode-ghc-simple
 | 
			
		||||
  - AmauryRabouan.new-vsc-prolog
 | 
			
		||||
  - eamodio.gitlens
 | 
			
		||||
  - justusadam.language-haskell
 | 
			
		||||
  - ms-dotnettools.csdevkit # IS-63714
 | 
			
		||||
  - ms-python.python
 | 
			
		||||
  - ms-vscode.cpptools
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,7 @@
 | 
			
		|||
VSCode_Extensions:
 | 
			
		||||
  - VisualStudioExptTeam.vscodeintellicode
 | 
			
		||||
  - arthurwang.vsc-prolog
 | 
			
		||||
  - dramforever.vscode-ghc-simple
 | 
			
		||||
  - AmauryRabouan.new-vsc-prolog
 | 
			
		||||
  - eamodio.gitlens
 | 
			
		||||
  - justusadam.language-haskell
 | 
			
		||||
  - ms-dotnettools.csdevkit # IS-63714
 | 
			
		||||
  - ms-python.python
 | 
			
		||||
  - ms-vscode.cpptools
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,11 +0,0 @@
 | 
			
		|||
# Principi programskih jezikov
 | 
			
		||||
# Klemen.Klanjscek@fri.uni-lj.si
 | 
			
		||||
# Windows, GNU/Linux, VS Code, Ocaml, Eclipse, Haskell, SWI-Prolog, rlwrap
 | 
			
		||||
 | 
			
		||||
- include_tasks: vscode.yml
 | 
			
		||||
- include_tasks: ocaml.yml
 | 
			
		||||
- include_tasks: eclipse.yml
 | 
			
		||||
- include_tasks: haskell.yml
 | 
			
		||||
- include_tasks: swi-prolog.yml
 | 
			
		||||
- include_tasks: rlwrap.yml
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,25 +1,25 @@
 | 
			
		|||
- name: Check Haskell install status
 | 
			
		||||
  win_stat:
 | 
			
		||||
    path: C:\ghcup\bin\ghc.exe
 | 
			
		||||
  register: file
 | 
			
		||||
# - name: Check Haskell install status
 | 
			
		||||
#   win_stat:
 | 
			
		||||
#     path: C:\ghcup\bin\ghc.exe
 | 
			
		||||
#   register: file
 | 
			
		||||
 | 
			
		||||
- when: not file.stat.exists
 | 
			
		||||
  block:
 | 
			
		||||
    - name: Download Haskell
 | 
			
		||||
      win_get_url:
 | 
			
		||||
        url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
 | 
			
		||||
        dest: 'C:\'
 | 
			
		||||
      register: download
 | 
			
		||||
# - when: not file.stat.exists
 | 
			
		||||
#   block:
 | 
			
		||||
#     - name: Download Haskell
 | 
			
		||||
#       win_get_url:
 | 
			
		||||
#         url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
 | 
			
		||||
#         dest: 'C:\'
 | 
			
		||||
#       register: download
 | 
			
		||||
    
 | 
			
		||||
    - name: Install Haskell
 | 
			
		||||
      win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
 | 
			
		||||
#     - name: Install Haskell
 | 
			
		||||
#       win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
 | 
			
		||||
 | 
			
		||||
    - name: Add Haskell to PATH
 | 
			
		||||
      win_path:
 | 
			
		||||
        elements:
 | 
			
		||||
          C:\ghcup\bin
 | 
			
		||||
#     - name: Add Haskell to PATH
 | 
			
		||||
#       win_path:
 | 
			
		||||
#         elements:
 | 
			
		||||
#           C:\ghcup\bin
 | 
			
		||||
 | 
			
		||||
    - name: Remove temporary files
 | 
			
		||||
      win_file:
 | 
			
		||||
        path: "{{ download.dest }}"
 | 
			
		||||
        state: absent
 | 
			
		||||
#     - name: Remove temporary files
 | 
			
		||||
#       win_file:
 | 
			
		||||
#         path: "{{ download.dest }}"
 | 
			
		||||
#         state: absent
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,13 +1,9 @@
 | 
			
		|||
VSCode_Extensions:
 | 
			
		||||
  - VisualStudioExptTeam.vscodeintellicode
 | 
			
		||||
  - arthurwang.vsc-prolog
 | 
			
		||||
  - dramforever.vscode-ghc-simple
 | 
			
		||||
  - eamodio.gitlens
 | 
			
		||||
  - justusadam.language-haskell
 | 
			
		||||
  - ms-dotnettools.csdevkit # IS-63714
 | 
			
		||||
  - ms-python.python
 | 
			
		||||
  - ms-vscode.cpptools
 | 
			
		||||
  - ocamllabs.ocaml-platform
 | 
			
		||||
  - stonebuddha.vscode-better-sml
 | 
			
		||||
  - vscode-icons-team.vscode-icons
 | 
			
		||||
  - vscjava.vscode-java-pack
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue