2019/11/29(金)
This file contains hidden or 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
| package packagename | |
| class ExamLogic { | |
| fun scoreExam(point: Int): String { | |
| if (point < 0 || point > 100) { | |
| return "変な値を送るな!" | |
| } | |
| if (point < 30) { | |
| return "赤点です!" | |
| } |
This file contains hidden or 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
| REVIEW_VERSION := 4.0 | |
| REVIEW_CONFIG_FILE ?= config.yml | |
| REVIEW_OUTPUT_TYPE ?= pdf | |
| REVIEW_BOOKNAME := Foo | |
| .DEFAULT_GOAL := help | |
| .PHONY: help | |
| help: | |
| @grep -E '^[a-zA-Z_-]+:.*?# .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":[^#]*? #| #"}; {printf "%-18s%s\n", $$1 $$3, $$2}' |
This file contains hidden or 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
| PRODUCT_NAME := Foo | |
| SCHEME_NAME := ${PRODUCT_NAME} | |
| WORKSPACE_NAME := ${PRODUCT_NAME}.xcworkspace | |
| UI_TESTS_TARGET_NAME := ${PRODUCT_NAME}UITests | |
| TEST_SDK := iphonesimulator | |
| TEST_CONFIGURATION := Debug | |
| TEST_PLATFORM := iOS Simulator | |
| TEST_DEVICE ?= iPhone 11 Pro Max | |
| TEST_OS ?= 13.3 |
This file contains hidden or 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
| name: {Project Name} | |
| options: | |
| bundleIdPrefix: {Bundle ID Prefix} | |
| deploymentTarget: | |
| iOS: 13.0 | |
| xcodeVersion: "11.3.1" # 変わらない? | |
| # findCarthageFrameworks: true # 余計なフレームワークまで追加されてしまうためコメントアウト | |
| carthageExecutablePath: mint run Carthage/Carthage carthage |
NewerOlder