mirror of
https://github.com/mirego/accent.git
synced 2024-09-11 10:55:28 +03:00
Remove gleam v2
This commit is contained in:
parent
bc72f50b4b
commit
31fd513c20
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -31,10 +31,6 @@ jobs:
|
||||
with:
|
||||
node-version: 10.14.x
|
||||
|
||||
- uses: gleam-lang/setup-gleam@v1.0.1
|
||||
with:
|
||||
gleam-version: 0.13.2
|
||||
|
||||
- name: Install System Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
12
Dockerfile
12
Dockerfile
@ -19,16 +19,6 @@ COPY jipt .
|
||||
RUN npm ci --no-audit --no-color && \
|
||||
npm run build-production
|
||||
|
||||
#
|
||||
# Build Gleam modules
|
||||
#
|
||||
FROM gleamlang/gleam:0.13.2 as gleam-builder
|
||||
WORKDIR /opt/build
|
||||
COPY gleam.toml .
|
||||
COPY rebar.config .
|
||||
COPY src src
|
||||
RUN rebar3 compile
|
||||
|
||||
#
|
||||
# Build the OTP binary
|
||||
#
|
||||
@ -38,8 +28,6 @@ ENV MIX_ENV=prod
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
COPY --from=gleam-builder /opt/build ./gen
|
||||
|
||||
RUN apk --no-cache update && \
|
||||
apk --no-cache upgrade && \
|
||||
apk --no-cache add make g++ git yaml-dev
|
||||
|
7
Makefile
7
Makefile
@ -80,7 +80,6 @@ lint-compile:
|
||||
.PHONY: lint-format
|
||||
lint-format:
|
||||
mix format --dry-run --check-formatted
|
||||
gleam format src --check
|
||||
|
||||
.PHONY: lint-credo
|
||||
lint-credo:
|
||||
@ -119,16 +118,12 @@ test-coverage: ## Generate the code coverage report
|
||||
mix coveralls
|
||||
|
||||
.PHONY: format
|
||||
format: format-elixir format-prettier format-gleam ## Run formatting tools on the code
|
||||
format: format-elixir format-prettier ## Run formatting tools on the code
|
||||
|
||||
.PHONY: format-elixir
|
||||
format-elixir:
|
||||
mix format
|
||||
|
||||
.PHONY: format-gleam
|
||||
format-gleam:
|
||||
gleam format src
|
||||
|
||||
.PHONY: format-prettier
|
||||
format-prettier:
|
||||
npx prettier --write --single-quote --no-bracket-spacing './{webapp,jipt,cli}/!(node_modules)/**/*.{js,ts,json,svg,scss,md}' '*.md'
|
||||
|
@ -62,7 +62,6 @@ This will start the webserver on port 4000, migrate the database to have an up a
|
||||
- `postgres >= 9.4`
|
||||
- `node.js >= 10.16.0`
|
||||
- `libyaml >= 0.1.7`
|
||||
- `gleam ~> 0.11`
|
||||
|
||||
## 🎛 Executing mix commands
|
||||
|
||||
|
2
mix.lock
2
mix.lock
@ -29,7 +29,6 @@
|
||||
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
|
||||
"gen_smtp": {:hex, :gen_smtp, "0.15.0", "9f51960c17769b26833b50df0b96123605a8024738b62db747fece14eb2fbfcc", [:rebar3], [], "hexpm", "29bd14a88030980849c7ed2447b8db6d6c9278a28b11a44cafe41b791205440f"},
|
||||
"gettext": {:hex, :gettext, "0.18.2", "7df3ea191bb56c0309c00a783334b288d08a879f53a7014341284635850a6e55", [:mix], [], "hexpm", "f9f537b13d4fdd30f3039d33cb80144c3aa1f8d9698e47d7bcbcc8df93b1f5c5"},
|
||||
"gleam_stdlib": {:hex, :gleam_stdlib, "0.18.0", "1ca1721c254333ba6594aba66828f80310b286af9a327a0b6c1a054b75c37741", [:gleam], [], "hexpm", "2938f996bbb25d75e973226846cddfa33ab5590afc8a9d043a356ea85272510d"},
|
||||
"goth": {:hex, :goth, "1.2.0", "92d6d926065a72a7e0da8818cc3a133229b56edf378022c00d9886c4125ce769", [:mix], [{:httpoison, "~> 0.11 or ~> 1.0", [hex: :httpoison, repo: "hexpm", optional: false]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: false]}, {:joken, "~> 2.0", [hex: :joken, repo: "hexpm", optional: false]}], "hexpm", "4974932ab3b782c99a6fdeb0b968ddd61436ef14de5862bd6bb0227386c63b26"},
|
||||
"hackney": {:hex, :hackney, "1.17.4", "99da4674592504d3fb0cfef0db84c3ba02b4508bae2dff8c0108baa0d6e0977c", [:rebar3], [{:certifi, "~>2.6.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~>6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~>1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.3.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~>1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~>0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "de16ff4996556c8548d512f4dbe22dd58a587bf3332e7fd362430a7ef3986b16"},
|
||||
"httpoison": {:hex, :httpoison, "1.8.0", "6b85dea15820b7804ef607ff78406ab449dd78bed923a49c7160e1886e987a3d", [:mix], [{:hackney, "~> 1.17", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "28089eaa98cf90c66265b6b5ad87c59a3729bea2e74e9d08f9b51eb9729b3c3a"},
|
||||
@ -42,7 +41,6 @@
|
||||
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
|
||||
"mime": {:hex, :mime, "1.6.0", "dabde576a497cef4bbdd60aceee8160e02a6c89250d6c0b29e56c0dfb00db3d2", [:mix], [], "hexpm", "31a1a8613f8321143dde1dafc36006a17d28d02bdfecb9e95a880fa7aabd19a7"},
|
||||
"mimerl": {:hex, :mimerl, "1.2.0", "67e2d3f571088d5cfd3e550c383094b47159f3eee8ffa08e64106cdf5e981be3", [:rebar3], [], "hexpm", "f278585650aa581986264638ebf698f8bb19df297f66ad91b18910dfc6e19323"},
|
||||
"mix_gleam": {:git, "https://github.com/gleam-lang/mix_gleam.git", "0efe0e1b3de9b62eb344c2bacd334f9e3ffed212", []},
|
||||
"mochiweb": {:hex, :mochiweb, "2.20.1", "e4dbd0ed716f076366ecf62ada5755a844e1d95c781e8c77df1d4114be868cdf", [:rebar3], [], "hexpm", "d1aeee7870470d2fa9eae0b3d5ab6c33801aa2d82b10e9dade885c5c921b36aa"},
|
||||
"mock": {:hex, :mock, "0.3.7", "75b3bbf1466d7e486ea2052a73c6e062c6256fb429d6797999ab02fa32f29e03", [:mix], [{:meck, "~> 0.9.2", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm", "4da49a4609e41fd99b7836945c26f373623ea968cfb6282742bcb94440cf7e5c"},
|
||||
"mox": {:hex, :mox, "0.5.2", "55a0a5ba9ccc671518d068c8dddd20eeb436909ea79d1799e2209df7eaa98b6c", [:mix], [], "hexpm", "df4310628cd628ee181df93f50ddfd07be3e5ecc30232d3b6aadf30bdfe6092b"},
|
||||
|
Loading…
Reference in New Issue
Block a user