forked from abaranovskis-redsamurai/persistencejetapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
25 lines (18 loc) · 834 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
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("@oracle/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}`]);
});
};