Commit 245136f1 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix: force LF line endings for scripts to avoid docker problems on Windows (#974)

* fix: use correct line endings for windows

* chore: add changeset
parent d1680052
---
'@eth-optimism/contracts': patch
---
Minor change to how deploy.ts is invoked
*.sh text eol=lf
#!/usr/bin/env ts-node-script
import { Wallet } from 'ethers' import { Wallet } from 'ethers'
import path from 'path' import path from 'path'
import dirtree from 'directory-tree' import dirtree from 'directory-tree'
......
...@@ -38,13 +38,13 @@ ...@@ -38,13 +38,13 @@
"lint:check": "yarn run lint:typescript", "lint:check": "yarn run lint:typescript",
"lint:typescript": "tslint --format stylish --project .", "lint:typescript": "tslint --format stylish --project .",
"clean": "rm -rf ./dist ./artifacts ./artifacts-ovm ./cache ./cache-ovm ./tsconfig.build.tsbuildinfo", "clean": "rm -rf ./dist ./artifacts ./artifacts-ovm ./cache ./cache-ovm ./tsconfig.build.tsbuildinfo",
"deploy": "./bin/deploy.ts && yarn generate-markdown", "deploy": "ts-node \"./bin/deploy.ts\" && yarn generate-markdown",
"serve": "./bin/serve_dump.sh", "serve": "./bin/serve_dump.sh",
"prepublishOnly": "yarn copyfiles -u 2 \"contracts/optimistic-ethereum/**/*\" ./", "prepublishOnly": "yarn copyfiles -u 2 \"contracts/optimistic-ethereum/**/*\" ./",
"postpublish": "rimraf OVM iOVM libraries mockOVM", "postpublish": "rimraf OVM iOVM libraries mockOVM",
"prepack": "yarn prepublishOnly", "prepack": "yarn prepublishOnly",
"postpack": "yarn postpublish", "postpack": "yarn postpublish",
"generate-markdown": "node scripts/generate-markdown.js" "generate-markdown": "node \"./scripts/generate-markdown.js\""
}, },
"dependencies": { "dependencies": {
"@eth-optimism/core-utils": "^0.4.4", "@eth-optimism/core-utils": "^0.4.4",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment