d17b827730f3a48d828c43d986e2b517cb88eb6e
Tech/BuildrForC.md
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | repositories.remote << 'file:///deploy-test/repo' |
| 17 | 17 | repositories.release_to = 'file:///deploy-test/repo' |
| 18 | - |
|
| 18 | +``` |
|
| 19 | 19 | define 'Base' do |
| 20 | 20 | task :default => :package |
| 21 | 21 | task :compile do |
| ... | ... | @@ -27,13 +27,13 @@ define 'Base' do |
| 27 | 27 | package.exclude('*/.git', '*/.svn') |
| 28 | 28 | package :zip |
| 29 | 29 | end |
| 30 | - |
|
| 30 | +``` |
|
| 31 | 31 | [[$[Get Code]]][1] |
| 32 | 32 | |
| 33 | 33 | |
| 34 | 34 | |
| 35 | 35 | ## Shared library projec |
| 36 | - |
|
| 36 | +``` |
|
| 37 | 37 | require 'buildr/gcc' |
| 38 | 38 | |
| 39 | 39 | repositories.remote << 'file:///deploy-test/repo' |
| ... | ... | @@ -65,7 +65,7 @@ define 'Slave', :layout=>my_layout do |
| 65 | 65 | #package(:sources).include(API,SRC) |
| 66 | 66 | #package(:sources).exclude(EXCLUDE) |
| 67 | 67 | end |
| 68 | - |
|
| 68 | +``` |
|
| 69 | 69 | [[$[Get Code]]][2] |
| 70 | 70 | |
| 71 | 71 |