Skip to content

Instantly share code, notes, and snippets.

@gchiu
Last active January 25, 2020 23:50
Show Gist options
  • Save gchiu/c6ba6b7cb3b68aa778067152f5c55358 to your computer and use it in GitHub Desktop.
Save gchiu/c6ba6b7cb3b68aa778067152f5c55358 to your computer and use it in GitHub Desktop.
check for r3
rebol []
platforms: [0.13.2 0.3.1 0.3.40 0.2.40 0.4.4 0.4.40]
windows: [0.3.1 0.3.40]
if system/version = 2.102.0.16.2 [
info?: :js-head
]
base: http://metaeducation.s3.amazonaws.com/travis-builds/
for-each platform platforms [
; check for both debug and non-debug deploys
extension: if find windows platform [%.exe] else [""]
dump platform
dump file: unspaced [base platform "/r3" extension]
if error? entrap [
probe info? to-url file
][ print "missing"]
dump file: unspaced [base platform "/r3-debug" extension]
if error? entrap [
probe info? to-url file
][print "missing"]
dump file: unspaced [base platform "/r3-debug-cpp" extension]
if error? entrap [
probe info? to-url file
][print "missing"]
print "..................................................................................."
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment