2# You can use any of the options supported by packcheck as environment
3# variables here. See https://github.com/harendra-kumar/packcheck for all
4# options and their explanation.
10 # ------------------------------------------------------------------------
11 # Global options, you can use these per build as well
12 # ------------------------------------------------------------------------
14 # ------------------------------------------------------------------------
16 # ------------------------------------------------------------------------
17 # GHC 9.2.7 onwards redundant constraint warnings are incompatible with
19 GHC_OPTIONS: "-Werror"
20 CABAL_REINIT_CONFIG: "y"
23 # ------------------------------------------------------------------------
25 # ------------------------------------------------------------------------
29 DISABLE_SDIST_BUILD: "y"
30 DISABLE_DIST_CHECKS: "y"
33 # ------------------------------------------------------------------------
35 # ------------------------------------------------------------------------
36 # Note requiring a specific version of stack using STACKVER may fail due to
37 # github API limit while checking and upgrading/downgrading to the specific
41 # RESOLVER: "lts-18.27"
43 STACK_BUILD_OPTIONS: "--flag streamly-benchmarks:-opt"
44 STACK_YAML: "stack.yaml"
46 # ------------------------------------------------------------------------
48 # ------------------------------------------------------------------------
49 CABAL_CHECK_RELAX: "y"
51 # ------------------------------------------------------------------------
52 # Where to find the required tools
53 # ------------------------------------------------------------------------
54 PATH: "%PATH%;%APPDATA%\\local\\bin"
55 LOCAL_BIN: "%APPDATA%\\local\\bin"
57 # ------------------------------------------------------------------------
58 # Location of packcheck.sh (the shell script invoked to perform CI tests ).
59 # ------------------------------------------------------------------------
60 # You can either commit the packcheck.sh script at this path in your repo or
61 # you can use it by specifying the PACKCHECK_REPO_URL option below in which
62 # case it will be automatically copied from the packcheck repo to this path
63 # during CI tests. In any case it is finally invoked from this path.
64 PACKCHECK_LOCAL_PATH: "./packcheck.sh"
65 # If you have not committed packcheck.sh in your repo at PACKCHECK_LOCAL_PATH
66 # then it is automatically pulled from this URL.
67 PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
68 PACKCHECK_GITHUB_COMMIT: "35efa99b2082d13722b8a0183ac6455df98e91b9"
70 # Override the temp directory to avoid sed escaping issues
71 # See https://github.com/haskell/cabal/issues/5386
79# - "%LOCALAPPDATA%\\Programs\\stack"
81clone_folder: "c:\\pkg"
85- if not exist %PACKCHECK_LOCAL_PATH% curl -sSkL -o%PACKCHECK_LOCAL_PATH% %PACKCHECK_GITHUB_URL%/%PACKCHECK_GITHUB_COMMIT%/packcheck.sh
86- if not exist %LOCAL_BIN% mkdir %LOCAL_BIN%
87- where stack.exe || curl -sSkL -ostack.zip http://www.stackage.org/stack/windows-x86_64 && 7z x stack.zip stack.exe && move stack.exe %LOCAL_BIN%
88- if defined STACKVER (stack upgrade --binary-only --binary-version %STACKVER%) else (stack upgrade --binary-only || ver > nul)
93- for /f "usebackq tokens=*" %%i in (`where 7z.exe`) do set PATH7Z=%%i\..
94- for /f "usebackq tokens=*" %%i in (`where git.exe`) do set PATHGIT=%%i\..
95- chcp 65001 && stack exec bash -- -c "chmod +x %PACKCHECK_LOCAL_PATH%; %PACKCHECK_LOCAL_PATH% stack PATH=/usr/bin:\"%PATH7Z%\":\"%PATHGIT%\""
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list