diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bf9a55..ae83e31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,8 @@ jobs: - name: Test run: make test - name: Test Demo + env: + SKIP_FIGMAGEN_GENERATION: YES run: make test_demo - name: Danger continue-on-error: true diff --git a/Makefile b/Makefile index d898cad..932effd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX?=/usr/local PRODUCT_NAME=figmagen -PRODUCT_VERSION=2.0.0-beta.26 +PRODUCT_VERSION=2.0.0-beta.27 TEMPLATES_NAME=Templates README_NAME=README.md LICENSE_NAME=LICENSE @@ -54,7 +54,9 @@ test_demo: build set -euo pipefail; \ cd $(DEMO_PATH); \ - ./figmagen generate; \ + if [ "$${SKIP_FIGMAGEN_GENERATION:-}" != "YES" ]; then \ + ./figmagen generate; \ + fi; \ bundle exec pod install; \ xcodebuild clean build test -workspace "$(DEMO_WORKSPACE)" -scheme "$(DEMO_TEST_SCHEME)" -destination "$(DEMO_TEST_DESTINATION)" | XCPRETTY_JSON_FILE_OUTPUT="../$(DEMO_TEST_LOG_PATH)" xcpretty -f `xcpretty-json-formatter` diff --git a/README.md b/README.md index 8fcc9be..80c09cb 100755 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ FigmaGen is a command line tool for exporting resources and generating code from your [Figma](http://figma.com/) files. Currently, FigmaGen supports the following entities: + - ✅ Color styles - ✅ Text styles - ✅ Shadow styles @@ -43,7 +44,7 @@ Currently, FigmaGen supports the following entities: ### CocoaPods To install FigmaGen using [CocoaPods](http://cocoapods.org) dependency manager, add this line to your `Podfile`: ```ruby -pod 'FigmaGen', '~> 2.0.0-beta.26' +pod 'FigmaGen', '~> 2.0.0-beta.27' ``` Then run this command: @@ -73,7 +74,7 @@ $ brew install hhru/tap/figmagen For [Mint](https://github.com/yonaskolb/mint) package manager installation, run: ```sh -$ mint install hhru/FigmaGen@2.0.0-beta.26 +$ mint install hhru/FigmaGen@2.0.0-beta.27 ``` ### ZIP archive