0.0.1-alpha-2 • Published 7 years ago

ops-cli v0.0.1-alpha-2

Weekly downloads
11
License
-
Repository
-
Last release
7 years ago

ops-cli: Build modern websites using git, markdown, yaml and other tasteful things. Made with 💗 in Shanghai.

Based on https://github.com/dotnet/docfx/tree/c22d0b7673bbdbf9d9fe375c3d04d6dceb534d82

Introduction

Open a terminal and navigate to a directory with ops.yml:

  • Run ops restore to restore all dependencies of the docset to the latest version.
  • Run ops build to build the docset, it will restore dependencies if they are restored.

Build and Test

To build the project:

  • npm install or npm i for short
  • npm run build

To test the project:

  • npm run test or npm t for short

    you don't need to run build before running test

To test the impact of your changes against an existing content repository

  • npm run impact and see the git diffs in ../ops-cli-test folder
  • npm run impact -- <sccmdocs-pr> to see the impact on a specific repo

To publish the project:

  • npm run publish and see the build artifacts in bin folder
  • npm publish to publish the artifacts to npmjs.org