You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nix users can immediately get the simple-nix template up and running by executing:
mkdir starter && cd starter
nix flake init -t github:clash-lang/clash-starters
Read the README.md inside of the newly created directory for more information on how to use Nix with Clash.
Contributing
If you wish to contribute to this template, edit them in projects/ and perform the following steps to test the template:
Edit the template
Run ./render.hs to instantiate them.
Go to the parent directory: cd .. and instantiate the template using the rendered .hsfiles.
cd ..
stack new my-template stack-templates/simple.hsfiles
Use the template:
cd my-template
cabal build
cabal test
License
The default license for each of the starter project is BSD2. However, this whole repository -including every starter project- is licensed under CC0. That means the authors, to the extent possible under law, have waived all copyright and related or neighboring rights to this "Clash Example Project". Feel free to choose any license for the starter projects that you want.