-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unify pre-commit hook & update Gitpod config (#2991)
* update Gitpod config * update nix shellHook & docs * install pre-commit hook * add kokobd as code owner to .gitpod.* * add gen-hie to Gitpod * add tools for doc * remove .pre-commit-config.yaml from .gitignore * set vscode formatter to stylish-haskell in Gitpod
- Loading branch information
Showing
7 changed files
with
76 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM gitpod/workspace-full | ||
|
||
RUN sudo install-packages build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 \ | ||
libncurses-dev libncurses5 libtinfo5 && \ | ||
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 \ | ||
BOOTSTRAP_HASKELL_MINIMAL=1 \ | ||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh && \ | ||
echo 'source $HOME/.ghcup/env' >> $HOME/.bashrc && \ | ||
echo 'export PATH=$HOME/.cabal/bin:$HOME/.local/bin:$PATH' >> $HOME/.bashrc && \ | ||
. /home/gitpod/.ghcup/env && \ | ||
ghcup install ghc --set && \ | ||
ghcup install hls --set && \ | ||
ghcup install cabal --set && \ | ||
ghcup install stack --set && \ | ||
cabal update && \ | ||
cabal install stylish-haskell hoogle implicit-hie && \ | ||
pip install pre-commit && \ | ||
npm install -g http-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,4 @@ | |
# Build | ||
*.nix @berberman @michaelpj @guibou | ||
*.project @jneira | ||
.gitpod.* @kokobd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters