icidasset / icidasset-template

Generic template for personal projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template

A generic template for my personal projects.

How to use

Setup

  1. Add as a git submodule to another project
    git submodule add ....
  2. Fetch submodule updates by either going into the submodule directory and running git pull origin master or you could run git submodule update --remote icidasset-template in the root directory.

Haskell

  1. Add ./icidasset-template to packages in the stack.yaml file.
  2. Use the Haskell modules as normal.

Elm

  1. Add icidasset-template/Elm to source-directories in the elm.json file.
  2. Use the Elm modules as normal.

Css

  1. Add the "icidasset-template": "file:./icidasset-template" dependency to package.json in the root directory.
  2. Import the template-css file (e.g. @import "PATH_TO_ROOT/icidasset-template/Css/Core").
  3. Use postcss-cli to compile your css file.
@./node_modules/.bin/postcss \
  "src/Css/Main.css" \
  --output "build/application.css" \
  --config "icidasset-template/Css/"

Notes

Haskell

About

Generic template for personal projects.


Languages

Language:HTML 90.1%Language:Haskell 5.7%Language:CSS 1.8%Language:Elm 1.5%Language:Just 0.6%Language:JavaScript 0.4%