Skip to content

Commit

Permalink
chore: fix gitignore (#970)
Browse files Browse the repository at this point in the history
Avoid selecting /build and /abi folders too deep into the repo, so that app frontends can control this themselves.
  • Loading branch information
sohkai authored Sep 4, 2019
1 parent d3cf90c commit 4febb1c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ node_modules
lerna-debug.log

# truffle build artifacts
*/**/abi
*/**/build
*/**/.DS_Store
# Ignore only for first level to select just the contract build directories
*/*/abi
*/*/build

# yarn
yarn-error.log

# Ignore lock files
package-lock.json
yarn.lock

# Misc
.DS_Store
.cache
21 changes: 21 additions & 0 deletions apps/voting/app/src/abi/token-balanceOf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]

0 comments on commit 4febb1c

Please sign in to comment.