Skip to content

Commit

Permalink
Feature tool-cache for Gleam and rebar3 (#223)
Browse files Browse the repository at this point in the history
* Make iterating over mirrors more flexible (and reusable)

At the same time we fix an error, where we aren't using the
mirrors for the OTP build :)

* Make installation of cache-based tool callback -based

This hopefully eases introduction of new languages at the cost
of a bit of abstraction (there's an extensive comment on how to
fill in the install options' object)

We'll soon test this abstraction by making Gleam and rebar3
cached too

* Increase our visibility when debugging

* Improve on lessons learned to ease incorporation of further caches

(starting with Gleam on Linux)

* Cache Gleam on Windows

* Cache Rebar3 on Linux

Also, gets rid of all .sh

* Cache Rebar3 on Windows

Also, gets rid of all .ps1

* Act on CI results

And also be consistent when it comes to using
fs....Sync vs fs.promise....

* Move tests to a single file

* Move main executable to a single file

* Decrease number of changes to ease review

* Expose function required for tests

* Don't async/await when not required

* Resolve post- merge-conflict resolution issues
  • Loading branch information
paulo-ferraz-oliveira authored Aug 7, 2023
1 parent 3ba5b86 commit afb8586
Show file tree
Hide file tree
Showing 11 changed files with 936 additions and 838 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ extends:
parserOptions:
ecmaVersion: 2022
rules:
indent: [warn, 2]
indent: [warn, 2, {SwitchCase: 1}]
max-len: [warn, 100]
no-use-before-define: 0
operator-linebreak: 0
semi: 0
implicit-arrow-linebreak: 0

settings:
react:
Expand Down
Loading

0 comments on commit afb8586

Please sign in to comment.