Compare commits

..

2 Commits

4 changed files with 6 additions and 4 deletions

View File

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

View File

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