Compare commits

...

2 Commits

4 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,6 @@
], ],
"strict": true "strict": true
}, },
"importMap": "import_map.json",
"lint": { "lint": {
"files": { "files": {
"include": [ "include": [

View File

@ -9,7 +9,10 @@
let pkgs = import nixpkgs { system = sys; }; in let pkgs = import nixpkgs { system = sys; }; in
{ {
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
nativeBuildInputs = [ pkgs.bashInteractive pkgs.deno ]; nativeBuildInputs = [
pkgs.bashInteractive
pkgs.deno
];
shellHook = '' shellHook = ''
echo "Testing deno's installed version:" echo "Testing deno's installed version:"
deno --version deno --version

4
2022/d3/run.sh Normal file → Executable file
View File

@ -2,9 +2,9 @@
# Runs deno at src/d3_deno.ts with arguments ["example.txt"] # Runs deno at src/d3_deno.ts with arguments ["example.txt"]
echo "example.txt" echo "example.txt"
deno run --allow-read src/d3_deno.ts "example.txt" deno run --allow-read "${PWD}/src/d3_deno.ts" "${PWD}/data/example.txt"
echo "submission.txt" echo "submission.txt"
deno run --allow-read src/d3_deno.ts "submission.txt" deno run --allow-read "${PWD}/src/d3_deno.ts" "${PWD}/data/submission.txt"

0
2022/d3/src/d3_deno.ts Normal file → Executable file
View File