grunt-tdscli
v0.0.1
Published
Automate TDS tasks
Downloads
1
Readme
grunt-tdscli
Automate TDS tasks.
Getting Started
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-tdscli --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-tdscli');
The "tdscli" task
Overview
In your project's Gruntfile, add a section named tdscli
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
tdscli: {
options: {
// Task-specific options go here.
},
compile: {
// Target-specific file lists and/or options go here.
}
}
});
Options
workspace
Type: String
The path to the workspace full path.
serverType
Type: String
server
Type: String
build
Type: String
port
Type: Number
user
Type: String
psw
Type: String
environment
Type: String
authorization
Type: String
recompile
Type: Boolean
Default value: false
program
Type: String
or Array
includes
Type: String
or Array
Targets
compile
Compile source files and resources
grunt.initConfig({
tdscli: {
options: {
},
compile: {
recompile: true,
program: [
"AdvPL/src/cloud.prw",
"AdvPL/src/sample.cloud",
"AdvPL/res/logo.png"
],
includes: [
"C:/dev/include",
"C:/dev/include-lib"
]
}
}
});
deleteprog
Remove source files and resources
defragrpo
Defragments the server repository
clearlog
Clears the repository history
patchgen
Creates an update package
patchapply
Apply an update package
patchinfo
Lists the content of an update package
patchhist
Displays the history of update packages applications
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
(Nothing yet)