Remove redundant tasks

This commit is contained in:
Manuel Thalmann 2019-10-07 23:32:53 +02:00
parent ed165b43e9
commit 1242bbdc90
3 changed files with 3 additions and 16 deletions

View file

@ -33,7 +33,6 @@
"stop": "Stops building the project in watch-mode.", "stop": "Stops building the project in watch-mode.",
"stop-release": "Stops performing the release-build in watch-mode.", "stop-release": "Stops performing the release-build in watch-mode.",
"clean": "Cleans the project", "clean": "Cleans the project",
"initialize": "Initializes the project.",
"lint": "Lints the project." "lint": "Lints the project."
}, },
"scripts": { "scripts": {
@ -46,7 +45,6 @@
"stop": "npm run stop", "stop": "npm run stop",
"stop-release": "npm run stop-release", "stop-release": "npm run stop-release",
"clean": "npm run clean", "clean": "npm run clean",
"initialize": "npm run initialize",
"lint": "npm run lint" "lint": "npm run lint"
}, },
"require": {}, "require": {},
@ -74,7 +72,7 @@
"scripts-dev": { "scripts-dev": {
"post-install-cmd": [ "post-install-cmd": [
"npm install", "npm install",
"@initialize", "@rebuild",
"composer --working-dir=./test/website install" "composer --working-dir=./test/website install"
] ]
} }

View file

@ -85,9 +85,9 @@ function ParseArgs(args: string[])
let settings = new Settings(options["target"]); let settings = new Settings(options["target"]);
/** /**
* Initializes the project. * Cleans the project.
*/ */
export async function Initialize() export async function Clean()
{ {
let directories = [ let directories = [
"javascript", "javascript",
@ -109,16 +109,6 @@ export async function Initialize()
await require("create-symlink")(settings.RootPath(), settings.TestThemePath(), { type: "junction" }); await require("create-symlink")(settings.RootPath(), settings.TestThemePath(), { type: "junction" });
} }
Initialize.description = "Initializes the project.";
/**
* Cleans the project.
*/
export async function Clean()
{
await Initialize();
}
Clean.description = "Cleans the project."; Clean.description = "Cleans the project.";
/** /**

View file

@ -10,7 +10,6 @@
"stop": "gulp Stop -t Debug", "stop": "gulp Stop -t Debug",
"stop-release": "gulp Stop -t Release", "stop-release": "gulp Stop -t Release",
"clean": "gulp Clean", "clean": "gulp Clean",
"initialize": "gulp Initialize",
"lint": "npm run lint-gulp && npm run lint-project", "lint": "npm run lint-gulp && npm run lint-project",
"lint-gulp": "tslint -p . -t verbose", "lint-gulp": "tslint -p . -t verbose",
"lint-project": "tslint -p ./src/App -t verbose", "lint-project": "tslint -p ./src/App -t verbose",