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.applicationVariants.all { variant -> | |
def variantBuildTypeName = variant.name.capitalize() | |
def buildType = variant.buildType.name.toString() | |
def output = null | |
project.("pre" + variantBuildTypeName + "Build") { | |
println "Corona: compiling..." | |
output = "${projectDir}/compile_corona.sh ${CORONA_ENTERPRISE_PATH} ${projectDir} ${buildType}".execute() | |
println "${output.getInputStream().text}" | |
println "Corona: compiled!" |
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
#!/bin/sh | |
if [ -n "$CIRCLE_COMPARE_URL" ]; then | |
git log --reverse `echo $CIRCLE_COMPARE_URL | sed 's/^\([^.]*\)\.\.\.\([^.]*\)$/\1/' | sed 's/^.*\/\([^/]*\)$/\1/'` --pretty=format:"%s" | sed '/^Merge .*$/d' | |
fi | |
if [ -n "$SHIPPABLE_COMMIT_RANGE" ]; then | |
git log --reverse `echo $SHIPPABLE_COMMIT_RANGE | sed 's/^\([^.]*\)\.\.\.\([^.]*\)$/\1/'`..`echo $SHIPPABLE_COMMIT_RANGE | sed 's/^\([^.]*\)\.\.\.\([^.]*\)$/\2/'` --pretty=format:"%s" | sed '/^Merge .*$/d' | |
fi |
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
{ | |
"pokemon": [ | |
{ | |
"id": 1, | |
"num": "001", | |
"name": "Bulbasaur", | |
"img": "https://www.serebii.net/pokemongo/pokemon/001.png", | |
"type": [ | |
"Grass", | |
"Poison" |