-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
69 lines (60 loc) · 10.5 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
default: docker-run
all: docker-build docker-run
pristine: clean clean-sources fetch-sources docker-build docker-run
docker-build: docker-build-android docker-build-ios-pdf docker-build-ios-svg
docker-build-android:
docker build . -t svg-to-android -f Dockerfile.android
docker-build-ios-pdf:
docker build . -t svg-to-ios-pdf -f Dockerfile.pdf.ios
docker-build-ios-svg:
docker build . -t svg-to-ios-svg -f Dockerfile.svg.ios
docker-run: docker-run-android docker-run-ios-pdf docker-run-ios-svg
docker-run-android:
docker run --rm -it -v $$(PWD)/mounts/input:/mounts/input -v $$(PWD)/mounts/output/android:/mounts/output svg-to-android
docker-run-ios-pdf:
docker run --rm -it -v $$(PWD)/mounts/input:/mounts/input -v $$(PWD)/mounts/output/ios-pdf:/mounts/output svg-to-ios-pdf
docker-run-ios-svg:
docker run --rm -it -v $$(PWD)/mounts/input:/mounts/input -v $$(PWD)/mounts/output/ios-svg:/mounts/output svg-to-ios-svg
clean: clean-android clean-ios-pdf clean-ios-svg
clean-android:
rm -rf mounts/output/android/*
clean-ios-pdf:
rm -rf mounts/output/ios-pdf/*
clean-ios-svg:
rm -rf mounts/output/ios-svg/*
clean-sources:
rm -rf src/main/java/com/android
fetch-sources: clean-sources
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/Svg2Vector.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/Svg2Vector.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgTree.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgTree.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/PathBuilder.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/PathBuilder.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgGroupNode.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgGroupNode.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgNode.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgNode.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgColor.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgColor.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgClipPathNode.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgClipPathNode.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/VdUtil.kt;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/VdUtil.kt
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgGradientNode.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgGradientNode.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/VdNodeRender.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/VdNodeRender.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/PathParser.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/PathParser.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/VdPath.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/VdPath.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/GradientStop.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/GradientStop.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/VdElement.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/VdElement.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/EllipseSolver.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/EllipseSolver.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/ResourcesNotSupportedException.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/ResourcesNotSupportedException.java
mkdir -p src/main/java/com/android/ide/common/vectordrawable && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=sdk-common/src/main/java/com/android/ide/common/vectordrawable/SvgLeafNode.java;hb=master' -o src/main/java/com/android/ide/common/vectordrawable/SvgLeafNode.java
mkdir -p src/main/java/com/android && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/SdkConstants.java;hb=master' -o src/main/java/com/android/SdkConstants.java
mkdir -p src/main/java/com/android/support && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/support/AndroidxName.java;hb=master' -o src/main/java/com/android/support/AndroidxName.java
mkdir -p src/main/java/com/android/support && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/support/AndroidxNameUtils.java;hb=master' -o src/main/java/com/android/support/AndroidxNameUtils.java
mkdir -p src/main/java/com/android/support && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/support/AndroidxMigrationParser.kt;hb=master' -o src/main/java/com/android/support/AndroidxMigrationParser.kt
mkdir -p src/main/java/com/android/utils && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/utils/XmlUtils.java;hb=master' -o src/main/java/com/android/utils/XmlUtils.java
mkdir -p src/main/java/com/android/utils && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/utils/PositionXmlParser.java;hb=master' -o src/main/java/com/android/utils/PositionXmlParser.java
mkdir -p src/main/java/com/android/ide/common/blame && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/ide/common/blame/SourcePosition.java;hb=master' -o src/main/java/com/android/ide/common/blame/SourcePosition.java
mkdir -p src/main/java/com/android/ide/common/blame && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/ide/common/blame/SourceFilePosition.java;hb=master' -o src/main/java/com/android/ide/common/blame/SourceFilePosition.java
mkdir -p src/main/java/com/android/ide/common/blame && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/ide/common/blame/SourceFile.java;hb=master' -o src/main/java/com/android/ide/common/blame/SourceFile.java
mkdir -p src/main/java/com/android/utils && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/utils/Pair.java;hb=master' -o src/main/java/com/android/utils/Pair.java
mkdir -p src/main/java/com/android/utils && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/utils/DecimalUtils.java;hb=master' -o src/main/java/com/android/utils/DecimalUtils.java
mkdir -p src/main/java/com/android/utils && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/utils/CharSequences.java;hb=master' -o src/main/java/com/android/utils/CharSequences.java
mkdir -p src/main/java/com/android/utils && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=common/src/main/java/com/android/utils/CharSequenceReader.java;hb=master' -o src/main/java/com/android/utils/CharSequenceReader.java
mkdir -p src/main/java/com/android/annotations && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=annotations/src/main/java/com/android/annotations/NonNull.java' -o src/main/java/com/android/annotations/NonNull.java
mkdir -p src/main/java/com/android/annotations && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=annotations/src/main/java/com/android/annotations/Nullable.java' -o src/main/java/com/android/annotations/Nullable.java
mkdir -p src/main/java/com/android/annotations/concurrency && curl --silent 'http://git.jetbrains.org/?p=idea/adt-tools-base.git;a=blob_plain;f=annotations/src/main/java/com/android/annotations/concurrency/Immutable.java' -o src/main/java/com/android/annotations/concurrency/Immutable.java