Skip to content

Commit

Permalink
build: local
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredpixel committed Apr 12, 2022
1 parent 37881dd commit 0cda787
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions bin/freeze
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -eu
set -o pipefail
#-------------------------------------------------------------------------------
cabal freeze

#sed -i '/^index-state:/d' cabal.project.freeze
sed '/^index-state:/d' cabal.project.freeze >cabal.project.freeze.tmp
cat cabal.project.freeze.tmp >cabal.project.freeze
rm cabal.project.freeze.tmp
3 changes: 2 additions & 1 deletion docker-compose.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
version: "2.4"
services:
plugin_spellchecker:
image: docker.io/tiredpixel/isoxya-plugin-spellchecker.build:unstable
build: .
#image: docker.io/tiredpixel/isoxya-plugin-spellchecker.build:unstable
init: true
volumes:
- ./.stylish-haskell.yaml:/home/x/repo/.stylish-haskell.yaml
Expand Down

0 comments on commit 0cda787

Please sign in to comment.