diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5aa50b..4610be5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v3 - run: npm ci - run: cargo install blockset - - run: npm run blockset-prepare-win + - run: npm run blockset-prepare - run: npm test deno: @@ -60,7 +60,6 @@ jobs: deno-version: v1.x - run: cargo install blockset - run: npm run blockset-prepare - # - run: deno run --quiet --allow-read --allow-env --allow-net --allow-hrtime ./test.mjs - run: deno run --quiet --allow-read --allow-write --allow-net --allow-hrtime ./test.mjs bun: @@ -111,4 +110,4 @@ jobs: name: blockset-js.tgz - run: npm install -g blockset-js-${{ env.VERSION }}.tgz - run: npx blockset-js awt9x8564999k276wap2e5b7n10575ffy946kencva4ve _out.txt 410f5a49.blockset-js-test.pages.dev - - run: less ./_out.txt \ No newline at end of file + - run: less ./_out.txt diff --git a/package.json b/package.json index 9197415..4fdba11 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "scripts": { "tsc": "tsc", "blockset-prepare": "blockset add ./examples/list.txt && blockset add ./examples/list2.txt && blockset add ./examples/repeat.txt", - "blockset-prepare-win": "blockset add ./examples/list.txt --to-posix-eol && blockset add ./examples/list2.txt --to-posix-eol && blockset add ./examples/repeat.txt --to-posix-eol", "test": "tsc & node --trace-uncaught test.mjs" }, "repository": {