mirror of
https://github.com/openharmony/third_party_rust_strsim-rs.git
synced 2026-07-01 21:34:00 -04:00
14 lines
301 B
Python
Executable File
14 lines
301 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from __future__ import print_function
|
|
|
|
import os
|
|
from subprocess import call
|
|
import sys
|
|
|
|
try:
|
|
call(['docker', 'run', '-it', '--rm', '-v', os.getcwd() + ':/src:cached',
|
|
'-w=/src', 'rust:1.20.0'])
|
|
except OSError:
|
|
print('Please install Docker.', file=sys.stderr)
|