Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit dcd617e

Browse files
author
Gabriel Schulhof
committed
Scripts: Rename infra/ to scripts/
1 parent 95db83c commit dcd617e

File tree

8 files changed

+5
-5
lines changed

8 files changed

+5
-5
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ var path = require( "path" );
2020

2121
require( "load-grunt-config" )( grunt, {
2222
configPath: [
23-
path.join( __dirname, "infra", "build", "tasks", "options" ),
24-
path.join( __dirname, "infra", "build", "tasks" )
23+
path.join( __dirname, "scripts", "build", "tasks", "options" ),
24+
path.join( __dirname, "scripts", "build", "tasks" )
2525
],
2626
init: true
2727
} );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "iot-js-api",
33
"description": "OCF JS API specifications and test suites",
4-
"main": "infra/index.js",
4+
"main": "scripts/index.js",
55
"version": "1.0.0",
66
"versions": {
77
"ocf": "oic1.1.0-0",
File renamed without changes.

infra/build/tasks/options/eslint.js renamed to scripts/build/tasks/options/eslint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
src: [ "Gruntfile.js", "build/**/*.js" ]
2323
},
2424
lib: {
25-
src: [ "infra/**/*.js" ]
25+
src: [ "scripts/**/*.js" ]
2626
},
2727
tests: {
2828
src: Object.keys( require( "../../../../package.json" ).versions )
File renamed without changes.
File renamed without changes.
File renamed without changes.

tasks/iot-js-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function( grunt ) {
1616

1717
var _ = require( "lodash" );
1818
var path = require( "path" );
19-
var testSuite = require( "../infra/index" );
19+
var testSuite = require( "../scripts/index" );
2020

2121
grunt.task.registerMultiTask( "iot-js-api", "Run a test suite", function() {
2222
var done = this.async();

0 commit comments

Comments
 (0)