Skip to content

Commit

Permalink
fix(design-tokens): ios automation
Browse files Browse the repository at this point in the history
  • Loading branch information
lauthieb committed Jul 3, 2023
1 parent 07b684b commit de8d631
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/scripts/icons/convert-svg-to-ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const SVGtoPDF = require('svg-to-pdfkit');
const capitalize = require('../../utils/capitalize');
const camelize = require('../../utils/camelize');

// Create a temp folder to store all svgs
shell.mkdir('-p', '.temp-svg-icons/all');
shell.cp('-r', 'build/icons/svg/all/*.svg', '.temp-svg-icons/all');

const mainContentsJson = {
info: {
author: 'xcode',
Expand Down
4 changes: 0 additions & 4 deletions src/scripts/icons/prebuild.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
const shell = require('shelljs');

// Icons: Create a temp folder to store all svgs
shell.mkdir('-p', '.temp-svg-icons/all');
shell.cp('-r', 'build/icons/svg/all/*.svg', '.temp-svg-icons/all');

// Delete some `build/icons` folders
shell.rm('-rf', 'build/icons/svg');
shell.rm('-rf', 'build/icons/font');
Expand Down

0 comments on commit de8d631

Please sign in to comment.