Commit Graph

17 Commits

Author SHA1 Message Date
ce9d1fe54c
Update guix channels; make necessary adjustments (new ghc & clay)
* channels.scm (channel): Update all channels (guix and rekahsoft-guix)

* blog-rekahsoft-ca.cabal (cabal-version): Adjust base version now that ghc version 9.2.5 is in use; adjust clay to match ghc-clay package provided by updated guix channels.

* clay/*.hs: Adjust clay sources for api changes (swapping of function parameter order for
functions provided by the 'Clay.Border' module)
2023-05-20 22:32:21 -04:00
94e74df3be
WIP: guix development workflow 2021-11-23 22:58:24 -05:00
84735e9a7b
Remove test suite and update README.md
The test suite depends on hspec-webdriver, which appears to have issues and is not well
supported. Future plans for the site include using hakyll to generate json that will be
consumed by a frontend vuejs application. This will make selenium testing of the hakyll
become absolute (as well as generation of css using clay).

Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
2018-12-15 21:58:21 -05:00
c0498bff65
Initial work blowing the dust off this codebase
This primarily includes updating dependencies, and using stack for sane dependency management.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2018-12-15 21:57:29 -05:00
364762e223
Cosmetic spacing change in cabal file
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2018-07-13 17:01:09 -04:00
972ebc793e
Resolve dependency issues after package and ghc 8.2 upgrade
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2017-11-04 22:45:55 -04:00
2e3e7c5906 Update to newer base
- Due to some issue with the firefox webdriver plugin, selenium tests are temporarily disabled
  for firefox

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2017-03-05 15:36:33 -05:00
af5ab576fb Updated site tests
Due to pages being generated to "/" instead of "pages/" some minor
changes were required. Also some repeated code related to filtering and
looking up html files was relocated to a function and improved.

These tests still are not very comprehensive and there's definite room
for improvement. One issue is when the tests are run they generate
needless/useless analytics data.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-08-16 02:15:26 -04:00
fa36bb8062 Removed upper bounds on test-suite dependencies
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-07-03 03:02:53 -04:00
519f3833bf Upgraded Hakyll 4.6 -> 4.7
The type of the function `readPandocWith` changed slightly between
versions. This commit fixes the minor issue it caused.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-07-03 03:02:12 -04:00
671fe3db4b Test site using hspec and webdriver/selenium
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-02-18 03:01:44 -05:00
7b08488815 Ported sass/_blog.sass to clay and modularized clay css files
* ported sass/_blog.sass to within clay/Header.hs (excluding use of
mixins - see comments in source)
* split up clay css into a few modules (Util, Header and Main)
* still missing any properties that were implemented as sass
  mixins (from sass/default.sass and sass/_blog.sass) as well as porting
  the following sass files (from sass/):
  * _home-page.sass
  * _contact-page.sass
  * _post-page.sass
  * _tag-page.sass
  * _src-highlight.sass

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00
c64af63d82 Switch from sass to clay for css pre-processing
Removed dependency on sass in src/site.hs and replaced it with clay.
This is achieved by adding a second executable to the projects cabal
file (called 'gencss') and a folder (called 'clay) that contains all .hs files for
clay (nested however deeply). Then whenever the site is being built, the
"cabal build gencss" command is run, which if successful is followed by
"cabal run gencss compact" whose output is captured and saved to
/default.css.

The sass folder has been left while the majority of the sass has not
been ported over to clay. Only part of sass/default.sass has been ported.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00
496e0d5396 Bump to Hakyll 4.6 and clean up
Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 04:50:28 -05:00
696fcd2759 Corrected license file and updated cabal file
Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 04:50:28 -05:00
719e0753ca Compile src/site.hs with -Wall and -02
Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 04:50:28 -05:00
7e33aa7fe5 Initial cabalization of site
Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 04:50:28 -05:00