Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
smillida committed Feb 21, 2022
1 parent 2a6fd90 commit 5737d98
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Revision history for sim
# Revision history for expression-visualizer

## 0.1.0.0 -- YYYY-mm-dd

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# sim
# Haskell Expression Visualizer
16 changes: 6 additions & 10 deletions sim.cabal → expression-visualizer.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cabal-version: 2.4
name: sim
name: expression-visualizer
version: 0.1.0.0

-- A short (one-line) description of the package.
Expand All @@ -14,7 +14,7 @@ version: 0.1.0.0
-- The license under which the package is released.
-- license:
author: Sjur Millidahl
maintainer: smillida@cisco.com
maintainer: sjur.millidahl@gmail.com

-- A copyright notice.
-- copyright:
Expand All @@ -28,32 +28,28 @@ library
build-depends:
base ^>=4.14.3.0,
attoparsec,
conduit,
containers,
multimap ^>=1.2.1,
stm,
text
exposed-modules:
Vis


executable sim
executable expression-visualizer
main-is: Main.hs
ghc-options: -O2 -rtsopts -threaded -with-rtsopts=-K1K -rtsopts "-with-rtsopts=-N2 -T"
build-depends:
base ^>=4.14.3.0,
sim,
expression-visualizer,
text
hs-source-dirs: app
default-language: Haskell2010

Test-Suite sim-test
Test-Suite expression-visualizer-test
type: exitcode-stdio-1.0
main-is: Spec.hs
ghc-options: -O2 -rtsopts -threaded -with-rtsopts=-K1K -rtsopts "-with-rtsopts=-N2 -T"
hs-source-dirs: test
build-depends:
sim,
expression-visualizer,
base ^>=4.14.3.0,
hspec,
text
Expand Down
4 changes: 2 additions & 2 deletions release.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let pkgs = import ./nixpkgs.nix;
sim = pkgs.haskellPackages.callCabal2nix "sim" ./. {};
hev = pkgs.haskellPackages.callCabal2nix "expression-visualizer" ./. {};

in pkgs.haskell.lib.overrideCabal sim (old: {
in pkgs.haskell.lib.overrideCabal hev (old: {
enableSharedExecutables = false;
enableSharedLibraries = false;
configureFlags = [ ];
Expand Down

0 comments on commit 5737d98

Please sign in to comment.