@tars/deploy
TARS 框架服务打包工具
Last updated 11 hours ago by zoucz .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @tars/deploy -g
SYNC missed versions from official npm registry.

@ tars / deploy

TARS framework service packaging tool for packaging services to generate release packages suitable for TARS framework.

Installation

npm install -g @ tars / deploy

Tars-deploy is a CLI program, so you need to use the - g parameter to install

Usage

tars-deploy name [options]

  • name is the "service name" of the service, if your service name is Server, then fill in "Server"
  • [options] Optional configuration, see [Options] (# options) section

__When packaging: please change the current directory to the root directory of the service (that is, the directory where the service package.json is located) and execute this program

options

Options:

-h, --help output usage information
-V, --version output the version number
-f, --force Force to Build Package
-p --platform build deploy package for target platform

-f, --force

Because the tool will package the current running environment (such as node executable binaries, recompile C / C ++ addon on the current architecture, etc.), please execute the packaging tool on the same environment (linux) as the target operating architecture.

Turn this switch on to bypass this restriction. But at the same time we strongly advise you not to do this!

-p, --platform

By default, the tool will build package running on the linux platform. If you want to specify other platforms, you can pass this parameter. Currently darwin / linux are supported.

When you package on a non-linux system and do not specify a target platform, we provide a default linux platform nodejs execution file (currently linux x64 v12.17). If you want to package your own nodejs execution file, please run this tool in the environment of the target nodejs.

Current Tags

  • 2.0.6                                ...           latest (11 hours ago)

12 Versions

  • 2.0.6                                ...           11 hours ago
  • 2.0.5                                ...           a month ago
  • 2.0.5-alpha.0                                ...           a month ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
Downloads
Today 18
This Week 18
This Month 18
Last Day 0
Last Week 1
Last Month 25
Dependencies (7)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |