mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-17 10:17:09 +03:00
34 lines
691 B
Python
34 lines
691 B
Python
load("@prelude-nri//:elm.bzl", "elm_app", "elm_format_diffs")
|
|
|
|
elm_app(
|
|
name = "app",
|
|
elm_json = "elm.json",
|
|
main = "src/Main.elm",
|
|
out = "elm.js",
|
|
source_directories = {
|
|
"../src": "//:src",
|
|
"src": "src",
|
|
},
|
|
)
|
|
|
|
filegroup(
|
|
name = "public",
|
|
srcs = {
|
|
"index.html": "index.html",
|
|
"favicon.svg": "favicon.svg",
|
|
"bundle.js": "//lib:bundle.js",
|
|
"elm.js": ":app",
|
|
"application.json": "elm.json",
|
|
"package.json": "//:elm.json",
|
|
},
|
|
visibility = ["//:puppeteer"],
|
|
tests = [
|
|
"//:puppeteer",
|
|
],
|
|
)
|
|
|
|
elm_format_diffs(
|
|
name = "elm_format_diffs",
|
|
srcs = glob(["src/**/*.elm"]),
|
|
)
|