Sha256: 3fd3e1b80a482507b5e610d60dcc8c5f6213141c0756607c05b4ceb4c002501a

Contents?: true

Size: 334 Bytes

Versions: 23

Compression:

Stored size: 334 Bytes

Contents

#Hooks

Xcake allows you to run actions for certain events using Hooks. At the moment
there is only one hook supported "after_save" which is called after a project is
saved to disk. Here is an example where we run CocoaPods once a project has been
generated:

```ruby
Project.new do |c|
  after_save do
   `pod install`
  end
end
```

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
xcake-0.8.3 docs/Hooks.md
xcake-0.8.1 docs/Hooks.md
xcake-0.7.1 docs/Hooks.md
xcake-0.7.0 docs/Hooks.md
xcake-0.6.25 docs/Hooks.md
xcake-0.6.24 docs/Hooks.md
xcake-0.6.23 docs/Hooks.md
xcake-0.6.22 docs/Hooks.md
xcake-0.6.21 docs/Hooks.md
xcake-0.6.20 docs/Hooks.md
xcake-0.6.19 docs/Hooks.md
xcake-0.6.18 docs/Hooks.md
xcake-0.6.17 docs/Hooks.md
xcake-0.6.16 docs/Hooks.md
xcake-0.6.14 docs/Hooks.md
xcake-0.6.13 docs/Hooks.md
xcake-0.6.12 docs/Hooks.md
xcake-0.6.11 docs/Hooks.md
xcake-0.6.10 docs/Hooks.md
xcake-0.6.9 docs/Hooks.md