This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflows: | |
version: 2 | |
workflow: | |
jobs: | |
- dependencies | |
- run_unit_test: | |
requires: | |
- dependencies | |
- deploy_beta_staging: | |
requires: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
orbs: | |
slack: circleci/slack@3.2.0 | |
references: | |
## Workspaces | |
workspace: &workspace | |
~/src | |
## Docker image configurations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
} | |
play { | |
track = 'alpha' // 'internal' or 'beta' | |
serviceAccountCredentials = file(System.getenv("DEPLOYMENT_PRIVATE_KEY") ?: "private_key_name.json") | |
defaultToAppBundles = false | |
resolutionStrategy = "ignore" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
signingConfigs { | |
debug { | |
storeFile file('../debug.keystore') | |
storePassword 'android' | |
keyAlias 'androiddebugkey' | |
keyPassword 'android' | |
} | |
release { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
def globalConfiguration = rootProject.extensions.getByName("ext") | |
defaultConfig { | |
versionCode globalConfiguration.buildVersion() as int | |
ext.betaDistributionReleaseNotes = "Notes:\n" + globalConfiguration.commitMessages() | |
ext.betaDistributionEmails = globalConfiguration.distributionEmails() | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext { | |
buildVersion = { | |
def version = 1 | |
def buildNumber = System.getenv("CIRCLE_BUILD_NUM") | |
if (buildNumber != null) { | |
version += buildNumber as int | |
} | |
return version | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program BelanjaBajuImproved; | |
uses crt; | |
var | |
selectedCategory, selectedType: Integer; | |
price: Double; | |
inputtedDiscount1, inputtedDiscount2: String; | |
begin | |
clrscr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mongoose from 'mongoose' | |
import todo from './model' | |
export const getTodos = (request, response) => { | |
todo.find().exec((error, todos) => { | |
if (error) { | |
return response.json({ | |
'success': false, | |
'message': 'Gagal mengambil todos!', | |
error |