react-native-integrate
Version:
Automate integration of additional code into React Native projects
58 lines (57 loc) • 1.31 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockIntegrateYml = void 0;
// language=yaml
exports.mockIntegrateYml = `
env:
test: true
preInfo: Config pre info
postInfo:
title: test
message: Config post info
steps:
- task: prompt
actions:
- name: test2
type: text
text: Test prompt
when:
test: true
validate:
regex: .*
message: test
- name: test3
type: boolean
text: Test prompt
when:
test: false
- name: test12
type: boolean
text: Test prompt
- name: testMulti
type: multiselect
text: Test prompt
options:
- value: opt1
- value: opt2
- task: app_delegate
name: app_delegate
label: 'Will not run'
when:
test: false
actions: []
- task: app_delegate
when:
test: true
label: 'App Delegate'
actions:
- prepend: "#import <Firebase.h>"
- block: didFinishLaunchingWithOptions
prepend: "[FIRApp configure];"
- task: app_delegate
preInfo: Task pre info
postInfo: Task post info
actions:
- prepend: "#import <Firebase.h>"
- block: didFinishLaunchingWithOptions
prepend: "[FIRApp configure];"`;