From efd46fccb69c12216a72185bcd045bd0223e1728 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 13 Feb 2016 13:55:48 -0500 Subject: [PATCH] examples/calculator: intro icon for iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- examples/calculator/.gitignore | 1 + examples/calculator/Makefile | 6 ++- examples/calculator/art/icon-ios.svg | 92 ++++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 examples/calculator/art/icon-ios.svg diff --git a/examples/calculator/.gitignore b/examples/calculator/.gitignore index 700b511..08494f4 100644 --- a/examples/calculator/.gitignore +++ b/examples/calculator/.gitignore @@ -1 +1,2 @@ res/ +ios/ diff --git a/examples/calculator/Makefile b/examples/calculator/Makefile index a0ea5cf..6c5b63c 100644 --- a/examples/calculator/Makefile +++ b/examples/calculator/Makefile @@ -33,10 +33,14 @@ android-install: bin/calculator.apk # --- # iOS -bin/calculator.app: $(shell ${NITLS} -M src/calculator.nit ios) ${NITC} +bin/calculator.app: $(shell ${NITLS} -M src/calculator.nit ios) ${NITC} ios/AppIcon.appiconset/Contents.json mkdir -p bin ${NITC} -o $@ src/calculator.nit -m ios -D debug +ios/AppIcon.appiconset/Contents.json: art/icon-ios.svg + mkdir -p ios + ../../contrib/inkscape_tools/bin/svg_to_icons art/icon-ios.svg --ios --out ios/AppIcon.appiconset/ + # --- # Tests diff --git a/examples/calculator/art/icon-ios.svg b/examples/calculator/art/icon-ios.svg new file mode 100644 index 0000000..15971ee --- /dev/null +++ b/examples/calculator/art/icon-ios.svg @@ -0,0 +1,92 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + -- 1.7.9.5