[meld/meld-3-18] appveyor: Minor reformat and comment



commit 8307ce370caa8167f902246eae6c67e4b3d35276
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Nov 12 06:31:43 2017 +1000

    appveyor: Minor reformat and comment
    
    Just trying to add add some details here.

 appveyor.yml |   71 +++++++++++++++++++++++++++-------------------------------
 1 files changed, 33 insertions(+), 38 deletions(-)
---
diff --git a/appveyor.yml b/appveyor.yml
index fc5c091..b3902ab 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,49 +1,44 @@
 version: tag-or-branch-set-from-init-script.{build}
-init:
-- ps: >-
-    if ($env:APPVEYOR_REPO_TAG -eq "true")
-
-    {
-        Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER"
-    }
 
-    else
+init:
+  - ps: |
+      if ($env:APPVEYOR_REPO_TAG -eq "true") {
+          Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER"
+      }
+      else {
+          Update-AppveyorBuild -Version 
"$env:APPVEYOR_REPO_BRANCH-$($env:APPVEYOR_REPO_COMMIT.substring(0,7)).$env:APPVEYOR_BUILD_NUMBER"
+      }
 
-    {
-        Update-AppveyorBuild -Version 
"$env:APPVEYOR_REPO_BRANCH-$($env:APPVEYOR_REPO_COMMIT.substring(0,7)).$env:APPVEYOR_BUILD_NUMBER"
-    }
 environment:
   PYTHON_PREFIX: C:\Python34
   PATH: $(PYTHON_PREFIX);$(PYTHON_PREFIX)\Lib\site-packages\gnome;$(PATH)
-install:
-- cmd: >-
-    python -m pip install pypiwin32==219
-
-    python -m pip install cx_Freeze==5.0.2
-
-
-    curl 
"https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.24.1_rev1-setup_049a323fe25432b10f7e9f543b74598d4be74a39.exe/download";
 --location --output pygi-aio-setup.exe
 
-    set SOURCEPATH=%cd%\pygi-aio-source
-
-    mkdir %SOURCEPATH%
-
-    7z.exe x -o%SOURCEPATH% pygi-aio-setup.exe
-
-    mkdir pygi-aio-setup
-
-    7z.exe x -opygi-aio-setup %SOURCEPATH%\setup.exe
-
-    set GIR=True
-
-    echo %PYTHON_PREFIX% is used because it is the last supported by pygi-aio, GTK is istalled as a 
dependency of GTKSourceView
+install:
+  # Install cxFreeze
+  - cmd: |
+      python -m pip install pypiwin32==219
+      python -m pip install cx_Freeze==5.0.2
+
+  # Download and extract the PyGI all-in-one installer
+  - cmd: |
+      curl 
"https://sourceforge.net/projects/pygobjectwin32/files/pygi-aio-3.24.1_rev1-setup_049a323fe25432b10f7e9f543b74598d4be74a39.exe/download";
 --location --output pygi-aio-setup.exe
+      set SOURCEPATH=%cd%\pygi-aio-source
+      mkdir %SOURCEPATH%
+      7z.exe x -o%SOURCEPATH% pygi-aio-setup.exe
+      mkdir pygi-aio-setup
+      7z.exe x -opygi-aio-setup %SOURCEPATH%\setup.exe
+      set GIR=True
+
+  # %PYTHON_PREFIX% is used because it is the last supported by
+  # pygi-aio, GTK is installed as a dependency of GTKSourceView
+  - cmd: |
+      pygi-aio-setup\rcmd.exe /c "cd pygi-aio-setup && setup.bat %PYTHON_PREFIX% GTKSourceView 
pygi-aio-setup.log"
 
-    pygi-aio-setup\rcmd.exe /c "cd pygi-aio-setup && setup.bat %PYTHON_PREFIX% GTKSourceView 
pygi-aio-setup.log"
 build_script:
-- cmd: >-
-    %PYTHON_PREFIX%\Lib\site-packages\gnome\glib-compile-schemas data
+  - cmd: |
+      %PYTHON_PREFIX%\Lib\site-packages\gnome\glib-compile-schemas data
+      %PYTHON_PREFIX%\python setup_win32.py bdist_msi
 
-    %PYTHON_PREFIX%\python setup_win32.py bdist_msi
 artifacts:
-- path: dist/*.msi
-  name: Meld installer
+  - path: dist/*.msi
+    name: Meld installer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]