New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

smartface

Package Overview
Dependencies
Maintainers
1
Versions
403
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartface

Smartface Node.js build tool

  • 0.0.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-87.94%
Maintainers
1
Weekly downloads
 
Created
Source

Smartface CLI Tool

This Node.js project handles the publishing process of the Smartface Framework.

Other features will be integrated in the future, such as emulator, drag&drop interface integration and possibly more.

NPM

Requirements

Node.js & Npm

Click to install node.js

Install

npm install smartface -g --production

If you want install from sources, you can check installations.md

Usage

You can see more informations to use.

smfc -h

You can use on interactive mode

smfc -i

Basic parameters

If you want to publish, you must pass these arguments

  • task Task that will be run. Supported tasks: 'android-full-publish', 'ios-full-publish'
Example task
--task=$(TASK) , --task=android-full-publish
  • projectRoot Your project root folder. You can also use relative paths.
Example projectRoot
--projectRoot=$(PROJECT_ROOT) , --projectRoot=../smfc-sample

Optional parameters

You can use optional parameters.

  • licenseFile Your license file path
Example licenseFile
--licenseFile=$(LICENSE) , --licenseFile=/home/Smartface/license.xml
  • java Java 1.7 wil be needed for the apk file operations. If you do not set this parameter, the tool will try to find Java 1.7, and use that version if it can find one.
Example java
--java=$(JAVA) , --java=/usr/bin/java
  • inputApk Smartface Player apk for ARM. You can set one of the arm-players of Smartface.
Example inputApk
--inputApk=$(INPUT_APK) , --inputApk=/home/Smartface/SmartfacePlayer.apk
  • inputApkx86 Smartface Player apk for x86. You can set one of the x86-players of Smartface.
Example inputApkx86
--inputApkx86=$(INPUT_APK_x86) , --inputApkx86=/home/Smartface/SmartfacePlayer-x86.apk
  • inputZip Smartface Player zip file for iOS. You can set one of the iOS-players of Smartface.
Example inputZip
--inputZip=$(INPUT_ZIP) , --inputZip=/home/Smartface/SmartfacePlayer.zip
  • profile ARM or x86 profiles that will be published.
    * that means all profiles
Example profile
--profile=$(PROFILE) , --profile=arm:Default,hdpi;x86:*
 
  • maxJavaMemory Java to be used max memory while running.
Example maxJavaMemory
--maxJavaMemory=$(MAX_JAVA_MEM) , --maxJavaMemory=512m
   
  • logLevel level of log
Example logLevel
--logLevel=$(LOG_LEVEL) , --logLevel=debug
     
  • logFile You can logging to specific file. You can also use relative paths.
Example logFile
--logFile=$(LOG_FILE) , --logFile=../smfc-sample/log/some.log
  • logStdOut You can logging on console.
    If logLevel not to be set. you can not log on console. Because logLevel is off.
Example logStdOut
--logStdOut=$(LOG_STDOUT) , --logStdOut=true

Example Usage

iOS Publish
smfc --task=ios-full-publish --projectRoot=../smfc-sample


smfc --task=ios-full-publish --projectRoot=../smfc-sample  --logLevel=debug --logFile=../smfc-sample/log/ios.log 
Android Publish
smfc --task=android-full-publish --projectRoot=../smfc-sample 


smfc --task=android-full-publish --projectRoot=../smfc-sample  --logLevel=debug --logFile=../smfc-sample/log/android.log --maxJavaMemory=512m --profile="arm:Default;x86:hdpi"

FAQs

Package last updated on 27 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc