Skip to content

Commit

Permalink
[FAB-9330] Refactor top-level .gitignore into subdirs
Browse files Browse the repository at this point in the history
Rather than cram most .gitignore content into the top-level .gitignore
file, partition it into lower-level .gitignore files, as is already done
with a couple subdirectories, just to be consistent.

I'm sure these files could be even tidier but this seems sufficient for
a first pass.

Change-Id: I0cc8cb2a9d7fa82c4f6de1aef9f82107c8cc7a6a
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
  • Loading branch information
rpjday committed Apr 4, 2018
1 parent 489acdf commit 9d518fb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,3 @@
/config
.DS_Store
.project

first-network/channel-artifacts/*.tx
first-network/channel-artifacts/*.block
first-network/crypto-config/*
first-network/docker-compose-e2e.yaml
first-network/ledgers
first-network/ledgers-backup

chaincode-docker-devmode/myc.block
chaincode-docker-devmode/chaincode/sacc/sacc
chaincode-docker-devmode/chaincode/chaincode_example02/chaincode_example02

# fabric sdk node modules
fabcar/node_modules/
fabcar/package-lock.json
fabcar/hfc-key-store/

# balance transfer sample
balance-transfer/.DS_Store
balance-transfer/node_modules/*
balance-transfer/package-lock.json
balance-transfer/fabric-client-kv-org*
3 changes: 3 additions & 0 deletions balance-transfer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules/*
/package-lock.json
/fabric-client-kv-org*
2 changes: 1 addition & 1 deletion balance-transfer/typescript/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
package-lock.json
dist
types/fabric-client
types/fabric-client
3 changes: 3 additions & 0 deletions chaincode-docker-devmode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/myc.block
/chaincode/sacc/sacc
/chaincode/chaincode_example02/chaincode_example02
3 changes: 3 additions & 0 deletions fabcar/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules/
/package-lock.json
/hfc-key-store/
6 changes: 6 additions & 0 deletions first-network/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/channel-artifacts/*.tx
/channel-artifacts/*.block
/crypto-config/*
/docker-compose-e2e.yaml
/ledgers
/ledgers-backup

0 comments on commit 9d518fb

Please sign in to comment.