gitignore 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/bin/gitignore +5 -0
  2. data/lib/gitignore.rb +51 -0
  3. data/lib/gitignore/templates/Actionscript.gitignore +10 -0
  4. data/lib/gitignore/templates/Android.gitignore +20 -0
  5. data/lib/gitignore/templates/Archives.gitignore +22 -0
  6. data/lib/gitignore/templates/Autotools.gitignore +13 -0
  7. data/lib/gitignore/templates/C++.gitignore +12 -0
  8. data/lib/gitignore/templates/C.gitignore +14 -0
  9. data/lib/gitignore/templates/CFWheels.gitignore +12 -0
  10. data/lib/gitignore/templates/CMake.gitignore +5 -0
  11. data/lib/gitignore/templates/CSharp.gitignore +96 -0
  12. data/lib/gitignore/templates/CVS.gitignore +4 -0
  13. data/lib/gitignore/templates/CakePHP.gitignore +5 -0
  14. data/lib/gitignore/templates/Clojure.gitignore +5 -0
  15. data/lib/gitignore/templates/CodeIgniter.gitignore +5 -0
  16. data/lib/gitignore/templates/Compass.gitignore +1 -0
  17. data/lib/gitignore/templates/Concrete5.gitignore +2 -0
  18. data/lib/gitignore/templates/Coq.gitignore +4 -0
  19. data/lib/gitignore/templates/Delphi.gitignore +10 -0
  20. data/lib/gitignore/templates/Django.gitignore +4 -0
  21. data/lib/gitignore/templates/Drupal.gitignore +32 -0
  22. data/lib/gitignore/templates/Eclipse.gitignore +26 -0
  23. data/lib/gitignore/templates/Emacs.gitignore +12 -0
  24. data/lib/gitignore/templates/Erlang.gitignore +6 -0
  25. data/lib/gitignore/templates/Espresso.gitignore +1 -0
  26. data/lib/gitignore/templates/ExpressionEngine.gitignore +15 -0
  27. data/lib/gitignore/templates/Finale.gitignore +14 -0
  28. data/lib/gitignore/templates/FlexBuilder.gitignore +2 -0
  29. data/lib/gitignore/templates/ForceDotCom.gitignore +4 -0
  30. data/lib/gitignore/templates/FuelPHP.gitignore +2 -0
  31. data/lib/gitignore/templates/GWT.gitignore +17 -0
  32. data/lib/gitignore/templates/Go.gitignore +22 -0
  33. data/lib/gitignore/templates/Grails.gitignore +44 -0
  34. data/lib/gitignore/templates/Haskell.gitignore +7 -0
  35. data/lib/gitignore/templates/IntelliJ.gitignore +4 -0
  36. data/lib/gitignore/templates/Java.gitignore +6 -0
  37. data/lib/gitignore/templates/Jboss.gitignore +15 -0
  38. data/lib/gitignore/templates/Jekyll.gitignore +1 -0
  39. data/lib/gitignore/templates/Joomla.gitignore +396 -0
  40. data/lib/gitignore/templates/Jython.gitignore +2 -0
  41. data/lib/gitignore/templates/Kohana.gitignore +2 -0
  42. data/lib/gitignore/templates/LaTeX.gitignore +31 -0
  43. data/lib/gitignore/templates/Leiningen.gitignore +5 -0
  44. data/lib/gitignore/templates/LemonStand.gitignore +21 -0
  45. data/lib/gitignore/templates/Lilypond.gitignore +6 -0
  46. data/lib/gitignore/templates/Linux.gitignore +6 -0
  47. data/lib/gitignore/templates/Lithium.gitignore +2 -0
  48. data/lib/gitignore/templates/Magento.gitignore +107 -0
  49. data/lib/gitignore/templates/Matlab.gitignore +11 -0
  50. data/lib/gitignore/templates/Maven.gitignore +1 -0
  51. data/lib/gitignore/templates/Mercurial.gitignore +3 -0
  52. data/lib/gitignore/templates/ModelSim.gitignore +23 -0
  53. data/lib/gitignore/templates/MonoDevelop.gitignore +8 -0
  54. data/lib/gitignore/templates/NetBeans.gitignore +7 -0
  55. data/lib/gitignore/templates/Node.gitignore +14 -0
  56. data/lib/gitignore/templates/OCaml.gitignore +9 -0
  57. data/lib/gitignore/templates/OSX.gitignore +8 -0
  58. data/lib/gitignore/templates/Objective-C.gitignore +16 -0
  59. data/lib/gitignore/templates/Opa.gitignore +13 -0
  60. data/lib/gitignore/templates/OracleForms.gitignore +8 -0
  61. data/lib/gitignore/templates/Perl.gitignore +15 -0
  62. data/lib/gitignore/templates/PlayFramework.gitignore +18 -0
  63. data/lib/gitignore/templates/Python.gitignore +34 -0
  64. data/lib/gitignore/templates/Qooxdoo.gitignore +5 -0
  65. data/lib/gitignore/templates/Quartus2.gitignore +66 -0
  66. data/lib/gitignore/templates/R.gitignore +5 -0
  67. data/lib/gitignore/templates/README.md +10 -0
  68. data/lib/gitignore/templates/Rails.gitignore +16 -0
  69. data/lib/gitignore/templates/Redcar.gitignore +1 -0
  70. data/lib/gitignore/templates/RhodesRhomobile.gitignore +9 -0
  71. data/lib/gitignore/templates/Ruby.gitignore +18 -0
  72. data/lib/gitignore/templates/RubyMine.gitignore +1 -0
  73. data/lib/gitignore/templates/SASS.gitignore +2 -0
  74. data/lib/gitignore/templates/SBT.gitignore +7 -0
  75. data/lib/gitignore/templates/SVN.gitignore +1 -0
  76. data/lib/gitignore/templates/Scala.gitignore +13 -0
  77. data/lib/gitignore/templates/SeamGen.gitignore +15 -0
  78. data/lib/gitignore/templates/SketchUp.gitignore +1 -0
  79. data/lib/gitignore/templates/SublimeText.gitignore +3 -0
  80. data/lib/gitignore/templates/SugarCRM.gitignore +33 -0
  81. data/lib/gitignore/templates/Symfony.gitignore +15 -0
  82. data/lib/gitignore/templates/Symfony2.gitignore +13 -0
  83. data/lib/gitignore/templates/SymphonyCMS.gitignore +6 -0
  84. data/lib/gitignore/templates/Tags.gitignore +5 -0
  85. data/lib/gitignore/templates/Target3001.gitignore +82 -0
  86. data/lib/gitignore/templates/Tasm.gitignore +11 -0
  87. data/lib/gitignore/templates/TextMate.gitignore +3 -0
  88. data/lib/gitignore/templates/Textpattern.gitignore +11 -0
  89. data/lib/gitignore/templates/TurboGears2.gitignore +20 -0
  90. data/lib/gitignore/templates/Unity.gitignore +8 -0
  91. data/lib/gitignore/templates/VB.Net.gitignore +97 -0
  92. data/lib/gitignore/templates/VisualStudio.gitignore +108 -0
  93. data/lib/gitignore/templates/Waf.gitignore +3 -0
  94. data/lib/gitignore/templates/Windows.gitignore +8 -0
  95. data/lib/gitignore/templates/Wordpress.gitignore +17 -0
  96. data/lib/gitignore/templates/XilinxISE.gitignore +57 -0
  97. data/lib/gitignore/templates/Yii.gitignore +3 -0
  98. data/lib/gitignore/templates/ZendFramework.gitignore +6 -0
  99. data/lib/gitignore/templates/gcov.gitignore +5 -0
  100. data/lib/gitignore/templates/nanoc.gitignore +7 -0
  101. data/lib/gitignore/templates/opencart.gitignore +10 -0
  102. data/lib/gitignore/templates/vim.gitignore +3 -0
  103. metadata +148 -0
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env/ ruby
2
+
3
+ require 'gitignore'
4
+
5
+ puts Gitignore.create_gitignore(ARGV,true)
@@ -0,0 +1,51 @@
1
+
2
+ class Gitignore
3
+
4
+ def self.create_gitignore (file_names,overwrite)
5
+
6
+ mode = overwrite ? 'w' : 'a'
7
+
8
+ #file_name=File.join(File.dirname(__FILE__), ".gitignore")
9
+ file_name=File.join(".", ".gitignore")
10
+ #puts file_name
11
+
12
+ File::open(file_name,mode) do |f|
13
+
14
+ file_names.each do |name|
15
+
16
+ f<<"\n#########{name}#########\n\n"
17
+
18
+ begin
19
+
20
+ #puts "Inserting #{name} settings"
21
+
22
+ template_file_name=File.join(File.dirname(__FILE__),"gitignore","templates","#{name}.gitignore")
23
+
24
+ #puts template_file_name
25
+
26
+ file_content=File::read(template_file_name)
27
+ f<<file_content unless file_content.nil?
28
+ rescue =>err
29
+
30
+ return "Exception: #{err}"
31
+ #err
32
+ end
33
+
34
+ f<<"\n#####################\n\n"
35
+ end
36
+
37
+ end
38
+
39
+ return "Successfull created"
40
+
41
+ end
42
+
43
+ end
44
+
45
+ #if __FILE__ == $0
46
+ # Do something.. run tests, call a method, etc. We're direct.
47
+ # ignore =Gitignore.new
48
+ #puts ignore.create_gitignore(['Linux','Eclipse','emacs``'],true)
49
+ # puts ignore.create_gitignore(ARGV,false)
50
+ #end
51
+
@@ -0,0 +1,10 @@
1
+ # Build and Release Folders
2
+ bin/
3
+ bin-debug/
4
+ bin-release/
5
+
6
+ # Project property files
7
+ .actionScriptProperties
8
+ .flexProperties
9
+ .settings/
10
+ .project
@@ -0,0 +1,20 @@
1
+ # built application files
2
+ *.apk
3
+ *.ap_
4
+
5
+ # files for the dex VM
6
+ *.dex
7
+
8
+ # Java class files
9
+ *.class
10
+
11
+ # generated files
12
+ bin/
13
+ gen/
14
+
15
+ # Local configuration file (sdk path, etc)
16
+ local.properties
17
+
18
+ # Eclipse project files
19
+ .classpath
20
+ .project
@@ -0,0 +1,22 @@
1
+ # It's better to unpack these files and commit the raw source because
2
+ # git has its own built in compression methods.
3
+ *.7z
4
+ *.jar
5
+ *.rar
6
+ *.zip
7
+ *.gz
8
+ *.bzip
9
+ *.xz
10
+ *.lzma
11
+
12
+ #packing-only formats
13
+ *.iso
14
+ *.tar
15
+
16
+ #package management formats
17
+ *.dmg
18
+ *.xpi
19
+ *.gem
20
+ *.egg
21
+ *.deb
22
+ *.rpm
@@ -0,0 +1,13 @@
1
+ # http://www.gnu.org/software/automake
2
+
3
+ Makefile.in
4
+
5
+ # http://www.gnu.org/software/autoconf
6
+
7
+ /autom4te.cache
8
+ /aclocal.m4
9
+ /compile
10
+ /configure
11
+ /depcomp
12
+ /install-sh
13
+ /missing
@@ -0,0 +1,12 @@
1
+ # Compiled Object files
2
+ *.slo
3
+ *.lo
4
+ *.o
5
+
6
+ # Compiled Dynamic libraries
7
+ *.so
8
+
9
+ # Compiled Static libraries
10
+ *.lai
11
+ *.la
12
+ *.a
@@ -0,0 +1,14 @@
1
+ # Object files
2
+ *.o
3
+
4
+ # Libraries
5
+ *.lib
6
+
7
+ # Shared objects (inc. Windows DLLs)
8
+ *.dll
9
+ *.so
10
+
11
+ # Executables
12
+ *.exe
13
+ *.out
14
+
@@ -0,0 +1,12 @@
1
+ # unpacked plugin folders
2
+ plugins/**/*
3
+
4
+ # files directory where uploads go
5
+ files
6
+
7
+ # DBMigrate plugin: generated SQL
8
+ db/sql
9
+
10
+ # AssetBundler plugin: generated bundles
11
+ javascripts/bundles
12
+ stylesheets/bundles
@@ -0,0 +1,5 @@
1
+ CMakeCache.txt
2
+ CMakeFiles
3
+ Makefile
4
+ cmake_install.cmake
5
+ install_manifest.txt
@@ -0,0 +1,96 @@
1
+ # Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
2
+ [Bb]in/
3
+ [Oo]bj/
4
+
5
+ # mstest test results
6
+ TestResults
7
+
8
+ ## Ignore Visual Studio temporary files, build results, and
9
+ ## files generated by popular Visual Studio add-ons.
10
+
11
+ # User-specific files
12
+ *.suo
13
+ *.user
14
+ *.sln.docstates
15
+
16
+ # Build results
17
+ [Dd]ebug/
18
+ [Rr]elease/
19
+ x64/
20
+ *_i.c
21
+ *_p.c
22
+ *.ilk
23
+ *.meta
24
+ *.obj
25
+ *.pch
26
+ *.pdb
27
+ *.pgc
28
+ *.pgd
29
+ *.rsp
30
+ *.sbr
31
+ *.tlb
32
+ *.tli
33
+ *.tlh
34
+ *.tmp
35
+ *.vspscc
36
+ *.vssscc
37
+ .builds
38
+
39
+ # Visual C++ cache files
40
+ ipch/
41
+ *.aps
42
+ *.ncb
43
+ *.opensdf
44
+ *.sdf
45
+
46
+ # Visual Studio profiler
47
+ *.psess
48
+ *.vsp
49
+
50
+ # Guidance Automation Toolkit
51
+ *.gpState
52
+
53
+ # ReSharper is a .NET coding add-in
54
+ _ReSharper*
55
+
56
+ # NCrunch
57
+ *.ncrunch*
58
+ .*crunch*.local.xml
59
+
60
+ # Installshield output folder
61
+ [Ee]xpress
62
+
63
+ # DocProject is a documentation generator add-in
64
+ DocProject/buildhelp/
65
+ DocProject/Help/*.HxT
66
+ DocProject/Help/*.HxC
67
+ DocProject/Help/*.hhc
68
+ DocProject/Help/*.hhk
69
+ DocProject/Help/*.hhp
70
+ DocProject/Help/Html2
71
+ DocProject/Help/html
72
+
73
+ # Click-Once directory
74
+ publish
75
+
76
+ # Publish Web Output
77
+ *.Publish.xml
78
+
79
+ # Others
80
+ [Bb]in
81
+ [Oo]bj
82
+ sql
83
+ TestResults
84
+ [Tt]est[Rr]esult*
85
+ *.Cache
86
+ ClientBin
87
+ [Ss]tyle[Cc]op.*
88
+ ~$*
89
+ *.dbmdl
90
+ Generated_Code #added for RIA/Silverlight projects
91
+
92
+ # Backup & report files from converting an old project file to a newer
93
+ # Visual Studio version. Backup files are not needed, because we have git ;-)
94
+ _UpgradeReport_Files/
95
+ Backup*/
96
+ UpgradeLog*.XML
@@ -0,0 +1,4 @@
1
+ /CVS/*
2
+ */CVS/*
3
+ .cvsignore
4
+ */.cvsignore
@@ -0,0 +1,5 @@
1
+ tmp/*
2
+ config/database.php
3
+ app/tmp/*
4
+ app/config/database.php
5
+ !empty
@@ -0,0 +1,5 @@
1
+ pom.xml
2
+ *jar
3
+ /lib/
4
+ /classes/
5
+ .lein-deps-sum
@@ -0,0 +1,5 @@
1
+ */config/development
2
+ */logs/log-*.php
3
+ */logs/!index.html
4
+ */cache/*
5
+ */cache/!index.html
@@ -0,0 +1 @@
1
+ .sass-cache
@@ -0,0 +1,2 @@
1
+ config/site.php
2
+ files/cache/*
@@ -0,0 +1,4 @@
1
+ *.vo
2
+ *.glob
3
+ *.v.d
4
+
@@ -0,0 +1,10 @@
1
+ *.dcu
2
+ *.~*~
3
+ *.local
4
+ *.identcache
5
+ __history
6
+ *.drc
7
+ *.map
8
+ *.exe
9
+ *.dll
10
+ bin/*
@@ -0,0 +1,4 @@
1
+ *.log
2
+ *.pot
3
+ *.pyc
4
+ local_settings.py
@@ -0,0 +1,32 @@
1
+ sites/default/files
2
+ sites/default/private
3
+ sites/default/settings.php
4
+ cache/
5
+ files/
6
+ /README.txt
7
+ /CHANGELOG.txt
8
+ /COPYRIGHT.txt
9
+ /INSTALL*.txt
10
+ /LICENSE.txt
11
+ /MAINTAINERS.txt
12
+ /UPGRADE.txt
13
+ robots.txt
14
+ sites/all/README.txt
15
+ sites/all/modules/README.txt
16
+ sites/all/themes/README.txt
17
+ .htaccess
18
+
19
+ #for non core developer
20
+ #only include "sites" folder without exclusions before
21
+ cron.php
22
+ index.php
23
+ install.php
24
+ update.php
25
+ xmlrpc.php
26
+ /includes
27
+ /misc
28
+ /modules
29
+ /profiles
30
+ /scripts
31
+ /themes
32
+
@@ -0,0 +1,26 @@
1
+ *.pydevproject
2
+ .project
3
+ .metadata
4
+ bin/**
5
+ tmp/**
6
+ tmp/**/*
7
+ *.tmp
8
+ *.bak
9
+ *.swp
10
+ *~.nib
11
+ local.properties
12
+ .classpath
13
+ .settings/
14
+ .loadpath
15
+
16
+ # External tool builders
17
+ .externalToolBuilders/
18
+
19
+ # Locally stored "Eclipse launch configurations"
20
+ *.launch
21
+
22
+ # CDT-specific
23
+ .cproject
24
+
25
+ # PDT-specific
26
+ .buildpath
@@ -0,0 +1,12 @@
1
+ *~
2
+ \#*\#
3
+ /.emacs.desktop
4
+ /.emacs.desktop.lock
5
+ .elc
6
+ auto-save-list
7
+ tramp
8
+ .\#*
9
+
10
+ # Org-mode
11
+ .org-id-locations
12
+ *_archive
@@ -0,0 +1,6 @@
1
+ .eunit
2
+ deps
3
+ priv
4
+ *.o
5
+ *.beam
6
+ *.plt
@@ -0,0 +1,15 @@
1
+ .DS_Store
2
+
3
+ # Images
4
+ images/avatars/
5
+ images/captchas/
6
+ images/smileys/
7
+ images/member_photos/
8
+ images/signature_attachments/
9
+ images/pm_attachments/
10
+
11
+ # Caches
12
+ sized/
13
+ thumbs/
14
+ _thumbs/
15
+ */expressionengine/cache/*
@@ -0,0 +1,14 @@
1
+ *.bak
2
+ *.db
3
+ *.avi
4
+ *.pdf
5
+ *.ps
6
+ *.mid
7
+ *.midi
8
+ *.mp3
9
+ *.aif
10
+ *.wav
11
+ # Some versions of Finale have a bug and randomly save extra copies of
12
+ # the music source as "<Filename> copy.mus"
13
+ *copy.mus
14
+