From 1242bbdc9094ade3c2df0d285f3b19e223596679 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 7 Oct 2019 23:32:53 +0200 Subject: [PATCH] Remove redundant tasks --- composer.json | 4 +--- gulpfile.ts | 14 ++------------ package.json | 1 - 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 5f4379c..ccdf9ff 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,6 @@ "stop": "Stops building the project in watch-mode.", "stop-release": "Stops performing the release-build in watch-mode.", "clean": "Cleans the project", - "initialize": "Initializes the project.", "lint": "Lints the project." }, "scripts": { @@ -46,7 +45,6 @@ "stop": "npm run stop", "stop-release": "npm run stop-release", "clean": "npm run clean", - "initialize": "npm run initialize", "lint": "npm run lint" }, "require": {}, @@ -74,7 +72,7 @@ "scripts-dev": { "post-install-cmd": [ "npm install", - "@initialize", + "@rebuild", "composer --working-dir=./test/website install" ] } diff --git a/gulpfile.ts b/gulpfile.ts index 92306d3..afc3307 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -85,9 +85,9 @@ function ParseArgs(args: string[]) let settings = new Settings(options["target"]); /** - * Initializes the project. + * Cleans the project. */ -export async function Initialize() +export async function Clean() { let directories = [ "javascript", @@ -109,16 +109,6 @@ export async function Initialize() 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."; /** diff --git a/package.json b/package.json index 30ae629..20ff28f 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "stop": "gulp Stop -t Debug", "stop-release": "gulp Stop -t Release", "clean": "gulp Clean", - "initialize": "gulp Initialize", "lint": "npm run lint-gulp && npm run lint-project", "lint-gulp": "tslint -p . -t verbose", "lint-project": "tslint -p ./src/App -t verbose",