Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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`

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
Loading