Skip to content

Commit

Permalink
[.gitignore]: add build artifacts
Browse files Browse the repository at this point in the history
* Ignore images
* Ignore debug files
* Ignore compressed/tarred files
* Ignore libyang, smartmontools, and swig artifacts
* Ignore miscellaneous initramfs-tools artifacts

Signed-off-by: Lawrence Lee <[email protected]>
  • Loading branch information
Lawrence Lee committed May 23, 2019
1 parent 154a883 commit e10ec8c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ target/
*.deb
*.changes
*.buildinfo
*.tar
*.xz
*.gz
*dbg*
*.img

# Subdirectories in src
src/bash/*
Expand Down Expand Up @@ -43,6 +48,8 @@ src/libnl3/*
!src/libnl3/Makefile
src/libteam/*
!src/libteam/Makefile
src/libyang/*
!src/libyang/Makefile
src/lldpd/*
!src/lldpd/Makefile
!src/lldpd/patch/
Expand All @@ -59,13 +66,17 @@ src/radvd/*
!src/radvd/patch/
src/redis/*
!src/redis/Makefile
src/smartmontools/*
!src/smartmontools/Makefile
src/snmpd/*
!src/snmpd/Makefile
src/sonic-device-data/src/device/
src/sonic-device-data/src/debian/
src/supervisor/*
!src/supervisor/Makefile
!src/supervisor/patch/
src/swig/*
!src/swig/Makefile
src/telemetry/debian/*
!src/telemetry/debian/changelog
!src/telemetry/debian/compat
Expand Down Expand Up @@ -109,3 +120,7 @@ src/sonic-config-engine/sonic_config_engine.egg-info
src/sonic-daemon-base/**/*.pyc
src/sonic-daemon-base/build
src/sonic-daemon-base/sonic_daemon_base.egg-info

# Misc. files
files/initramfs-tools/arista-convertfs
files/initramfs-tools/union-mount

0 comments on commit e10ec8c

Please sign in to comment.