Skip to content

Commit

Permalink
Merge pull request #644 from matter-labs/popzxc/solidity-highlight
Browse files Browse the repository at this point in the history
Enable syntax highlight for solidity on github
  • Loading branch information
popzxc authored Jun 3, 2020
2 parents c841c94 + 44b13d1 commit 010bd87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.sol linguist-language=Solidity

2 changes: 1 addition & 1 deletion bin/check-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo Checking environment

check_tool yarn
check_tool node
node --version | grep "v10.20.1" > /dev/null || (echo "ERROR, node.js version 10.20.1 is required" && exit 1)
node --version | grep "v10.2" > /dev/null || (echo "ERROR, node.js version 10.20.1 is required" && exit 1)
check_tool docker
check_tool docker-compose
check_tool envsubst
Expand Down
2 changes: 1 addition & 1 deletion docs/setup-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The problem should be solved at this step.
## `Node` & `Yarn`
1. Install `Node`. Be sure to install `Node` v10.20.1. Other 10x versions (e.g. v10.16.1) can cause mysterious errors,
1. Install `Node`. Be sure to install `Node` v10.20.1 or higher. Lower 10x versions (e.g. v10.16.1) can cause mysterious errors,
which won't look related to the `Node` itself.

2. Install `yarn`. Instructions can be found on the [official site](https://classic.yarnpkg.com/en/docs/install/).
Expand Down

0 comments on commit 010bd87

Please sign in to comment.