File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33
33
githubToken : ${{ github.token }}
34
34
install : |
35
35
apt-get update -y
36
- apt-get install -y ghc alex happy
36
+ apt-get install -y ghc alex happy cabal
37
+ cabal install Ranged-sets
37
38
run : |
38
39
(cd src/; alex -g Scan.x; happy -ag Parser.y)
39
40
# Need to remove mention of the Cabal path module, and then substitutes
45
46
sed -i "s/getDataDir/\(return \"$(pwd | sed 's/\//\\\//g')\\/data\"\)/g" src/Main.hs
46
47
sed -i "s/version/undefined/g" src/Main.hs
47
48
ghc -XHaskell2010 -XPatternSynonyms -XFlexibleContexts -XMagicHash -XCPP -XNondecreasingIndentation -XScopedTypeVariables -XTupleSections -XDeriveFunctor \
48
- -package array -package containers -package directory \
49
+ -package array -package containers -package directory -package Ranged-sets \
49
50
-isrc src/Main.hs \
50
51
-o alex
51
52
./alex -g tests/simple.x
You can’t perform that action at this time.
0 commit comments