-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from trailmix:next
adding config
- Loading branch information
Showing
53 changed files
with
3,453 additions
and
2,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM alpine:3.13.2 AS organizer | ||
|
||
# Installation files | ||
WORKDIR /out/usr/src/install | ||
COPY src src | ||
COPY test test | ||
COPY mod.ts . | ||
COPY import_map.json . | ||
COPY trailmix.config.ts . | ||
COPY trilom.config.ts . | ||
|
||
FROM hayd/alpine-deno:1.8.1 AS runner | ||
COPY --from=organizer /out / | ||
|
||
# Install | ||
WORKDIR /usr/src/install | ||
ENV PATH "/root/.deno/bin:$PATH" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# Contribute | ||
|
||
```bash | ||
# ensure you have extensions installed | ||
# docker should be installed | ||
docker build -t trailmix -f .docker/Dockerfile . | ||
|
||
# setup env | ||
yarn | ||
# test all projects | ||
yarn test | ||
# test one project | ||
yarn test-one color/*_test.ts | ||
``` | ||
# now run tests | ||
docker run trailmix deno test --unstable --allow-write --allow-read --allow-env --import-map=import_map.json | ||
``` |
Oops, something went wrong.