Skip to content

Commit

Permalink
Add install script for editor templates and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Apr 5, 2017
1 parent a30cf29 commit 58909a1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions editors/QtCreator/install-win.bat
@@ -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.

Copy link
@nyalldawson

nyalldawson Apr 6, 2017

Collaborator

typo here - should be CODESTYLES

This comment has been minimized.

Copy link
@NathanW2

NathanW2 Apr 6, 2017

Author Member

Fixed now

)

IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" (
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml
)
File renamed without changes.

0 comments on commit 58909a1

Please sign in to comment.