0.2.1 • Published 6 years ago

plexiform-build-apicmds v0.2.1

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

plexiform-build-apicmds

A build script for plexiform to build:

  • a scaffolded .NET Core class library that provides Commands implementations for a plexiform-build-api

Purpose

See plexiform-build-api for details. This merely scaffolds a plugin project for implementing Commands.

Usage

  • Build this from the same spec as the api
  • Note: it uses the same namespace as the original api simply to reduce reconfiguration of ioc-config.json
  • Copy the dll to the api plugins folder
  • Change the "default assembly" in ioc-config.json to the plugin assembly name

Unlike other plexiform build scripts, this produces code which is supposed to be hand-edited. Therefore do not invoke build a second time. There is no protection to stop this overwriting your hand-written code!

A suggestion is to rename the code files once you have edited them. The filename is not important, but doing this will stop plexiform from overwriting your files in the event of another build.

Issues

  • This project needs a reference to your original api service project. It guesses where it is and may need correcting in the csproj!