pantograph/lib/assets/DefaultPantfileTemplate in pantograph-0.1.4 vs pantograph/lib/assets/DefaultPantfileTemplate in pantograph-0.1.6
- old
+ new
@@ -1,20 +1,33 @@
# This file contains the pantograph.tools configuration
-# You can find the documentation at https://docs.pantograph.tools
+# You can find the documentation at https://johnknapprs.github.io/pantograph
#
# For a list of all available actions, check out
#
-# https://docs.pantograph.tools/actions
+# https://johnknapprs.github.io/pantograph/actions
#
# For a list of all available plugins, check out
#
-# https://docs.pantograph.tools/plugins/available-plugins
+# https://johnknapprs.github.io/pantograph/plugins/available-plugins
#
# Uncomment the line if you want pantograph to automatically update itself
# update_pantograph
-default_platform(:ios)
+before_all do |lane|
+ # Tasks here execute before every lane called
+end
-platform :ios do
[[LANES]]
+
+after_all do |lane|
+ # Tasks here execute after all lanes have been completed
end
+
+error do |_, error|
+ # When a lane fails the `error` lane is triggered
+ # Use this space to have Pantograph take action during a failure state
+ if is_ci?
+ slack(success: false, message: error)
+ end
+end
+