-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update deps and rename SriPlatForm to SriPlatform
- Loading branch information
1 parent
0ed6858
commit da6f991
Showing
3 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
language: scala | ||
|
||
scala: | ||
- 2.12.1 | ||
- 2.11.8 | ||
- 2.12.2 | ||
- 2.11.11 | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package sri | ||
|
||
|
||
import sri.universal.SriPlatForm | ||
import sri.universal.SriPlatform | ||
|
||
package object platform { | ||
|
||
implicit object SriPlatForm extends SriPlatForm { | ||
|
||
@inline def isIOS: Boolean = true | ||
@inline def isAndroid: Boolean = false | ||
@inline def isWeb: Boolean = false | ||
} | ||
implicit object SriPlatform extends SriPlatform { | ||
|
||
@inline def isIOS: Boolean = true | ||
@inline def isAndroid: Boolean = false | ||
@inline def isWeb: Boolean = false | ||
} | ||
|
||
} |