Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/emaPublic

Commite20e219

Browse files
committed
Use justfile
1 parentaae735c commite20e219

File tree

7 files changed

+25
-22
lines changed

7 files changed

+25
-22
lines changed

‎.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"bbenoist.nix",
77
"jnoortheen.nix-ide",
88
"tamasfe.even-better-toml",
9-
"mkhl.direnv"
9+
"mkhl.direnv",
10+
"skellock.just"
1011
]
1112
}

‎bin/repl

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎bin/run

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎bin/test-type-errors

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎ema/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ https://user-images.githubusercontent.com/3998/116333460-789c1400-a7a1-11eb-8d28
1111

1212
##Hacking
1313

14-
Run`bin/run`. This runs the Ex04_Multi example.
14+
Run`justrun` in the devShell. This runs the Ex04_Multi example.
1515

16-
To run the docs, run`nix rungithub:srid/emanote -- -L ./docs`.
16+
To run the docs, run`nix run.#docs`.
1717

1818
##Getting Started
1919

2020
https://ema.srid.ca/start
2121

2222
##Discussion
2323

24-
To discuss the Ema project,[join Matrix][matrix] orpost in[GitHub Discussions][ghdiscuss].
24+
To discuss the Ema project, post in[GitHub Discussions][ghdiscuss].
2525

26-
[matrix]:https://matrix.to/#/#ema:matrix.org
27-
[ghdiscuss]:https://github.com/EmaApps/ema/discussions
26+
[ghdiscuss]:https://github.com/srid/ema/discussions

‎flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
];
3333
packages=withpkgs;[
3434
nixd
35+
just
3536
];
3637
};
3738

‎justfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
default:
2+
@just --list
3+
4+
# Run the examples (after compiling the library)
5+
run:
6+
ghcid \
7+
--restart ./www \
8+
-c"cabal repl ema-examples" \
9+
-T Ema.Example.Ex04_Multi.main \
10+
--setup":set args run --port=8080"
11+
12+
# Run Cabal repl
13+
repl:
14+
cabal repl ema
15+
16+
# Test type-errors
17+
test-type-errors:
18+
ghcid -c"cabal repl test:test-type-errors"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp