-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathGruntfile.js
More file actions
23 lines (18 loc) · 815 Bytes
/
Gruntfile.js
File metadata and controls
23 lines (18 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
The Universal Permissive License (UPL), Version 1.0
*/
'use strict'
var path = require('path')
module.exports = function (grunt) {
require('load-grunt-config')(grunt, {
configPath: path.join(process.cwd(), 'scripts/grunt/config')
})
grunt.loadNpmTasks('grunt-oraclejet')
grunt.registerTask('build', 'Public task. Calls oraclejet-build to build the oraclejet application. Can be customized with additional build tasks.', function (buildType) {
grunt.task.run([`oraclejet-build:${buildType}`])
})
grunt.registerTask('serve', 'Public task. Calls oraclejet-serve to serve the oraclejet application. Can be customized with additional serve tasks.', function (buildType) {
grunt.task.run([`oraclejet-serve:${buildType}`])
})
}