Compare commits
2 Commits
46ba1d4cd0
...
b45dc32c74
Author | SHA1 | Date |
---|---|---|
pegasust | b45dc32c74 | |
pegasust | 8b7df008d0 |
|
@ -6,7 +6,6 @@
|
||||||
],
|
],
|
||||||
"strict": true
|
"strict": true
|
||||||
},
|
},
|
||||||
"importMap": "import_map.json",
|
|
||||||
"lint": {
|
"lint": {
|
||||||
"files": {
|
"files": {
|
||||||
"include": [
|
"include": [
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue