Added sfdx project to repo
This commit is contained in:
Родитель
b543fa5bd5
Коммит
c4441dc606
|
@ -0,0 +1,5 @@
|
|||
# List files or directories below to ignore them when running force:source:push, force:source:pull, and force:source:status
|
||||
# More information: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm
|
||||
#
|
||||
|
||||
package.xml
|
|
@ -0,0 +1,7 @@
|
|||
.DS_Store
|
||||
.sfdx
|
||||
.project
|
||||
.salesforce
|
||||
.settings
|
||||
node_modules
|
||||
.idea
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"orgName": "wade.wegner Company",
|
||||
"edition": "Developer",
|
||||
"orgPreferences" : {
|
||||
"enabled": ["S1DesktopEnabled"]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
public with sharing class DemoController {
|
||||
/**
|
||||
* An empty constructor for the testing
|
||||
*/
|
||||
public DemoController() {}
|
||||
|
||||
/**
|
||||
* Get the version of the SFDX demo app
|
||||
*/
|
||||
public String getAppVersion() {
|
||||
return '1.0.0';
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
|
||||
<apiVersion>38.0</apiVersion>
|
||||
<status>Active</status>
|
||||
</ApexClass>
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
@isTest
|
||||
private class DemoControllerTests {
|
||||
@isTest static void testGetAppVersion() {
|
||||
DemoController demo = new DemoController();
|
||||
System.assertEquals(demo.getAppVersion(), '1.0.0');
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
|
||||
<apiVersion>38.0</apiVersion>
|
||||
<status>Active</status>
|
||||
</ApexClass>
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"packageDirectories": [
|
||||
{
|
||||
"path": "force-app",
|
||||
"default": true
|
||||
}
|
||||
],
|
||||
"namespace": "",
|
||||
"sfdcLoginUrl": "https://login.salesforce.com",
|
||||
"sourceApiVersion": "41.0"
|
||||
}
|
Загрузка…
Ссылка в новой задаче