Giter Site home page Giter Site logo

locoscript's Introduction

Installation:

  1. File > Swift Packages > Add Package Dependency
  2. Add https://github.com/baraley/LocoScript.git
  3. Set Dependency Rule to Branch and enter main as the branch name
  4. In Add to Target column, select None, if the option is available
Screenshot 2023-08-30 at 11 25 33
  1. Select the new LocoScript scheme in the toolbar ย Screenshot 2023-09-07 at 10 45 38

  2. Go to Edit Scheme: Click on LocoScript scheme and select Edit Scheme

  3. Go to Run phase and select the Options tab. In Working Directory field, check Use custom working directory toggle and enter the path of root directory, the one where the script will perform in. Usually it's the root folder of the project

Screenshot 2023-08-30 at 10 55 49
  1. Find the hidden .locoConfig file in the root folder of the Package and copy it to the folder selected on the previous step
  2. Open the .locoConfig file and set locoAPIKey and tags fields with your values. In tags dictionary key represents a tag name, and the value represents the destination folder where the strings should be saved to
Screenshot 2023-09-07 at 11 14 45

*APIKey could be created here:

Screenshot 2023-08-30 at 07 50 27
  1. Select your Mac as a Run Destination
Screenshot 2023-09-07 at 11 30 38
  1. Run the script and wait until it print: โœ… Loco script did finish

locoscript's People

Contributors

baraley avatar baraley-lanars avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.