.hgignore
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 10 Mar 2017 17:09:48 +0300
changeset 1661 78f28f40bc10
parent 1651 f077f8fb9ba7
child 1725 f8e4650619f7
permissions -rw-r--r--
wrap Beremiz startup code into separate launcher class

this should make it easier to make customized version of Beremiz IDE.
It's easy to add own splash, change version, add/disable extensions
and many other things.

For example:

[----- MyBeremiz.py ------]
#!/usr/bin/env python
from BeremizIDELauncher import BeremizIDELauncher

class MyBeremizIDELauncher(BeremizIDELauncher):
def __init__(self):
BeremizIDELauncher.__init__(self)
self.splashPath = self.Bpath("", "splash.png")

def ShowSplashScreen(self):
# comment next line to disable splash entirely
BeremizIDELauncher.ShowSplashScreen(self)

# change version
import version
version.app_version = "3.141-rc52"

def LoadExtensions(self):
# add/modifine list of extensions
# in self.extensions
BeremizIDELauncher.LoadExtensions(self)

if __name__ == '__main__':
beremiz = MyBeremizIDELauncher()
beremiz.Start()

[-------------------------]
359
8049afde06ab prevent eclipse to push .project with .hgignore
'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>'
parents:
diff changeset
     1
.project
441
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     2
1651
f077f8fb9ba7 1. Deleted .directory file, and added it to .hgignore.
PaulBeltyukov
parents: 1560
diff changeset
     3
.directory
f077f8fb9ba7 1. Deleted .directory file, and added it to .hgignore.
PaulBeltyukov
parents: 1560
diff changeset
     4
441
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     5
syntax: regexp
944
52a17be9c4d1 Introduce Beremiz Native POU library. Now LOGGER POU is part of Beremiz' native POU library
Edouard Tisserant
parents: 734
diff changeset
     6
^tests/.*/build$
1526
0fa5de94c131 Added .idea dir to ignore.
alexander.shaykhrazeev@gmail.com <alexander.shaykhrazeev@gmail.com>
parents: 955
diff changeset
     7
^.idea/.*
441
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     8
syntax: regexp
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     9
^.*\.pyc$
955
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
    10
syntax: regexp
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
    11
^.*~$
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
    12
syntax: regexp
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
    13
^.*\.swp$
1559
91129212e9a6 ignore generated bugreports and output of i18n script
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1526
diff changeset
    14
91129212e9a6 ignore generated bugreports and output of i18n script
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1526
diff changeset
    15
bug_report.*\.txt
1560
4ce8492159ab add version with commit hash to 'About' dialogs for Beremiz IDE and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1559
diff changeset
    16
i18n/.*.new$
4ce8492159ab add version with commit hash to 'About' dialogs for Beremiz IDE and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1559
diff changeset
    17
revision