Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Externalize gulp script and provide better documentation on its usage #11

Closed
jasonchester opened this issue Oct 16, 2018 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@jasonchester
Copy link

jasonchester commented Oct 16, 2018

I would like to use the gulp script outside of the vscode extension.

Would it be possible to publish an Azure DevOps Plugin as well as a vscode extension.

There are a number of use cases this would enable for me.

  • Automating the creation of multiple git based oradew database projects
  • Implementing a devops pipeline for deployment of oracle databases
  • Implementing a system that monitors development databases for changes and stores them in source control

@mickeypearce Love your extension btw, great job filling the gaping hole of opensource oracle development tooling.

@mickeypearce mickeypearce added the enhancement New feature or request label Oct 17, 2018
@mickeypearce
Copy link
Owner

mickeypearce commented Oct 19, 2018

It is not really planned at the moment but it's a nice idea. Maybe in the future...

@mickeypearce mickeypearce added the help wanted Extra attention is needed label Oct 22, 2018
@mickeypearce mickeypearce removed the help wanted Extra attention is needed label Dec 12, 2018
mickeypearce added a commit that referenced this issue Dec 12, 2018
@mickeypearce
Copy link
Owner

mickeypearce commented Dec 12, 2018

I exposed oradew commands (gulp tasks) in command line (CLI).

It is not super polished but it's a start. 🤰

# clone repo or go to ext folder ~/.vscode/extensions/mp.oradew-vscode-...
$ git clone https://github.com/mickeypearce/oradew-vscode
# Installation
$ npm install && npm run compile && npm run install-cli
# (Use `oradew <command> --help` for command options.)
$ oradew --help
Usage: oradew <command> [options]

Commands:
  initWorkspace            Initialize Workspace
  createSource [options]   Import All Objects from Db to Source
  compileFiles [options]   Compile files (all source if no file specified)
  compileObject [options]  Compile selected object
  importFiles [options]    Import files (all source if no file specified)
  importObject [options]   Import selected object
  package [options]        Package
  runFile [options]        Run file as a Script (path package.deploy if no file specified)
  runTest [options]        Run unit tests

Example usage:

# compiling changes
$ oradew compileFiles --changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants