-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add install script for editor templates and code style
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@ECHO OFF | ||
SET CREATOR=%APPDATA%\QtProject\qtcreator | ||
SET WIZARDS=%CREATOR%\templates\wizards | ||
SET CODESTYLES=%CREATOR%\codestyles\cpp | ||
IF NOT EXIST "%WIZARDS%" ( | ||
mkdir "%WIZARDS%" | ||
) | ||
|
||
IF NOT EXIST "%TEMPLATES%\qgis" ( | ||
mklink /J "%TEMPLATES%\qgis" %CD%\templates\wizards\qgis | ||
) | ||
|
||
IF NOT EXIST "%CODESTYLES%" ( | ||
mkdir "%COESTYLES%" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
) | ||
|
||
IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" ( | ||
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml | ||
) |
File renamed without changes.
typo here - should be CODESTYLES