Browse Source

Update to stackage lts-16.15, add favicon and remove circle.yml

tags/v0.7.0
soupi 1 year ago
parent
commit
b34ba54e15
8 changed files with 41 additions and 31 deletions
  1. +0
    -1
      app/Main.hs
  2. +0
    -19
      circle.yml
  3. +3
    -3
      hablog.cabal
  4. +0
    -1
      src/Web/Hablog/Post.hs
  5. +1
    -7
      stack.yaml
  6. +33
    -0
      stack.yaml.lock
  7. +4
    -0
      static/css/dark.css
  8. BIN
      static/favicon.ico

+ 0
- 1
app/Main.hs View File

@@ -6,7 +6,6 @@ module Main where

import Control.Monad (void)
import Control.Concurrent (forkIO)
import Data.Monoid ((<>))
import Data.List (intercalate)
import Data.Text.Lazy (pack, unpack)
import Options.Applicative


+ 0
- 19
circle.yml View File

@@ -1,19 +0,0 @@
dependencies:
cache_directories:
- "~/.stack"
- ".stack-work"
pre:
- curl -L https://github.com/commercialhaskell/stack/releases/download/v1.1.0/stack-1.1.0-linux-x86_64.tar.gz | tar zx -C /tmp
- sudo mv /tmp/stack-1.1.0-linux-x86_64/stack /usr/bin
- sudo apt-get update
- sudo apt-get install libgmp3-dev
override:
- stack setup
- rm -fr $(stack path --dist-dir) $(stack path --local-install-root)
- stack install hlint packdeps cabal-install
- stack build
- stack build --pedantic --haddock --no-haddock-deps

test:
override:
- stack sdist

+ 3
- 3
hablog.cabal View File

@@ -1,5 +1,5 @@
Name: hablog
Version: 0.6.0
Version: 0.7.0
Synopsis: A blog system
Description: blog system with tags
License: MIT
@@ -12,14 +12,14 @@ Build-type: Simple

Cabal-version: >=1.10

tested-with: GHC==8.2.2
tested-with: GHC==8.8.4

extra-source-files:
README.md

source-repository head
type: git
location: https://github.com/soupi/hablog
location: https://gitlab.com/gilmi/hablog

library
Build-depends:


+ 0
- 1
src/Web/Hablog/Post.hs View File

@@ -2,7 +2,6 @@

module Web.Hablog.Post where

import Data.Monoid ((<>))
import qualified Data.Text.Lazy as T
import qualified Text.Blaze.Html5 as H
import qualified Data.Map as M


+ 1
- 7
stack.yaml View File

@@ -1,4 +1,4 @@
resolver: lts-13.13
resolver: lts-16.15

packages:
- '.'
@@ -11,9 +11,3 @@ extra-deps:
flags: {}

extra-package-dbs: []

# Control whether we use the GHC we find on the path
# system-ghc: true

# Allow a newer minor version of GHC than the snapshot specifies
compiler-check: newer-minor

+ 33
- 0
stack.yaml.lock View File

@@ -0,0 +1,33 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files

packages:
- completed:
hackage: rss-3000.2.0.7@sha256:1afcc4ac78372abf96dbf16ef8254dab4483302336b298be6f3a3cc0a5738162,1750
pantry-tree:
size: 151
sha256: ab863735971970ee2fea54c50ce775742934067dcbb052642c6ca8d3aa2bafaf
original:
hackage: rss-3000.2.0.7
- completed:
hackage: scotty-tls-0.4.1@sha256:3eea55183b06e48f3c8407131ebd79d70515a2bd1825d5334f76eeace95f8f69,1000
pantry-tree:
size: 368
sha256: 2bbffe0e99ff20397aa51bfc4f26be862228475d0c37c67e3c9d2cc66ecc291b
original:
hackage: scotty-tls-0.4.1
- completed:
hackage: HaXml-1.25.5@sha256:32dc3f0fa7aa0c7f05d6c19a307280eb821083cf7a7136f76a4547c114fb8c6e,4435
pantry-tree:
size: 4076
sha256: 271bc04441acbc6ff02a7baf5f774ba13cdca56c5d0960089f8dffedc03ea121
original:
hackage: HaXml-1.25.5
snapshots:
- completed:
size: 532380
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/15.yaml
sha256: 3b5f2a699aa5ed3abbc30410062bf743926f0868ce3eeb5655370c6c6cc1a9f4
original: lts-16.15

+ 4
- 0
static/css/dark.css View File

@@ -329,3 +329,7 @@ nav li {
margin-left: 70px;
margin-bottom: 30px;
}

.pages {
text-align: center;
}

BIN
static/favicon.ico View File

Before After

Loading…
Cancel
Save