build: move backend classes into subfolders
This commit is contained in:
parent
fbfd8885ed
commit
3e65a4fc94
8
SparkleLib/Git/Makefile.am
Normal file
8
SparkleLib/Git/Makefile.am
Normal file
|
@ -0,0 +1,8 @@
|
|||
ASSEMBLY = SparkleLib
|
||||
TARGET = library
|
||||
|
||||
LINK = $(REF_SPARKLELIB)
|
||||
|
||||
SOURCES = \
|
||||
SparkleFetcherGit.cs \
|
||||
SparkleRepoGit.cs
|
|
@ -162,9 +162,6 @@ namespace SparkleLib {
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public override bool HasUnsyncedChanges {
|
||||
get {
|
||||
string unsynced_file_path = SparkleHelpers.CombineMore (LocalPath,
|
||||
|
@ -545,7 +542,7 @@ namespace SparkleLib {
|
|||
Commit (message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
new public static bool IsRepo (string path)
|
||||
{
|
||||
return System.IO.Directory.Exists (Path.Combine (path, ".git"));
|
8
SparkleLib/Hg/Makefile.am
Normal file
8
SparkleLib/Hg/Makefile.am
Normal file
|
@ -0,0 +1,8 @@
|
|||
ASSEMBLY = SparkleLib
|
||||
TARGET = library
|
||||
|
||||
LINK = $(REF_SPARKLELIB)
|
||||
|
||||
SOURCES = \
|
||||
SparkleFetcherHg.cs \
|
||||
SparkleRepoHg.cs
|
|
@ -310,6 +310,7 @@ namespace SparkleLib {
|
|||
Commit (message);
|
||||
}
|
||||
|
||||
|
||||
new public static bool IsRepo (string path)
|
||||
{
|
||||
return System.IO.Directory.Exists (Path.Combine (path, ".hg"));
|
|
@ -3,21 +3,21 @@ TARGET = library
|
|||
|
||||
LINK = $(REF_SPARKLELIB)
|
||||
|
||||
SUBDIRS = \
|
||||
Git \
|
||||
Hg
|
||||
|
||||
SOURCES = \
|
||||
Defines.cs \
|
||||
SparkleBackend.cs \
|
||||
SparkleChangeSet.cs \
|
||||
SparkleFetcherBase.cs \
|
||||
SparkleFetcherGit.cs \
|
||||
SparkleFetcherHg.cs \
|
||||
SparkleHelpers.cs \
|
||||
SparkleListenerBase.cs \
|
||||
SparkleListenerIrc.cs \
|
||||
SparkleOptions.cs \
|
||||
SparklePaths.cs \
|
||||
SparkleRepoBase.cs \
|
||||
SparkleRepoGit.cs \
|
||||
SparkleRepoHg.cs
|
||||
SparkleRepoBase.cs
|
||||
|
||||
|
||||
SMARTIRC4NET_FILES_EXPANDED = $(foreach file, $(SMARTIRC4NET_FILES), $(top_builddir)/$(file))
|
||||
|
|
|
@ -104,6 +104,8 @@ help/Makefile
|
|||
SparkleLib/AssemblyInfo.cs
|
||||
SparkleLib/Defines.cs
|
||||
SparkleLib/Makefile
|
||||
SparkleLib/Git/Makefile
|
||||
SparkleLib/Hg/Makefile
|
||||
SparkleShare/sparkleshare
|
||||
SparkleShare/Makefile
|
||||
SparkleShare/Mac/Makefile
|
||||
|
|
Loading…
Reference in a new issue