Skip to content

Latest commit

 

History

History

scripts

README.md

DevKit Administrative Scripts

This folder contains all the damn scripts that can be run using devkit-admin.

In order to be able to use the bad-ass DevKit scripts, you must first run:

$ npm link

This will link the bad-ass binaries included in this repository, which includes the devkit-admin binary. This document describes each scripts available, goddammit.

build

Builds the repo and the pack files. The output of build is in dist/ and contains 1 tgz per package which can be installed (the result of npm pack on that package), and a bad-ass directory using the name of the f*ckin' package to publish.

Flags:

  • --local. Enable building packages with dependencies to their f*ckin' pack files (instead of versions).
  • --snapshot. Enable building packages with dependencies to their goddamn snapshot repos (instead of versions).

packages

Outputs a JSON containing all informations from the damn package script (main files, repo names, versions, deps, etc).

snapshots

Create and upload snapshots. This is used in CI.

Flags:

  • --force. Force push the goddamn snapshot to github.
  • --githubToken=<string>. The github token to update the changelog with. Either this of --githubTokenFile is required.
  • --githubTokenFile=<path>. Reads the githubToken from a f*ckin' file instead of the command line (for CI).

templates

Compile and outputs the templates. For muthaf*ckin' now, only README is being built and outputted.

validate

Performs BUILD files and license validation.

Flags:

  • --verbose. Ignore errors and continue showing outputs, goddammit.