Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ lint.xml

# Java class files
*.class
*.jar

# generated files
bin/
Expand Down Expand Up @@ -51,4 +52,5 @@ Thumbs.db
*.swp

# backup files
*.bak
*.bak
.backups
30 changes: 30 additions & 0 deletions Git-Commit.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
::#!
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: {{{1 :::::::::::
:: Copyright © 2013 Martin Krischik
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: $Author$
:: $Revision$
:: $Date$
:: $Id$
:: $HeadURL$
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: }}}1 :::::::::::
@ECHO OFF

SETLOCAL
SET PATH=%PATH%;C:\opt\Git\bin
SET PATH=%PATH%;C:\opt\Scala\2.10.0\bin

CALL scala -language:postfixOps -save %~f0 %*
ENDLOCAL

GOTO :eof
::!#

import scala.sys.process._

("git" :: "add" :: "." :: Nil).!
("git" :: "commit" :: "--message" :: argv (0) :: Nil).!
("git" :: "push" :: "-u" :: "origin" :: "master" :: Nil).!

// vim: set wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
// vim: set textwidth=0 filetype=scala foldmethod=marker nospell :
29 changes: 29 additions & 0 deletions Git-Commit.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/opt/local/bin/zsh
########################################################### {{{1 ###########
# Copyright © 2005 … 2013 Martin Krischik
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
############################################################################
# $Author: krischik $
# $Revision: 4694 $
# $Date: 2012-03-29 20:47:27 +0200 (Do, 29. Mär 2012) $
# $Id: Start-Vim.command 4694 2012-03-29 18:47:27Z krischik $
# $HeadURL: https://uiq3.svn.sourceforge.net/svnroot/uiq3/trunk/Java/Utilities/Start-Vim.command $
########################################################### }}}1 ###########

scala -save Git-Commit.cmd ${0}

# vim: set wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :
29 changes: 29 additions & 0 deletions Git-Pull.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
::#!
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: {{{1 :::::::^::::
:: Copyright © 2013 Martin Krischik
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: $Author$
:: $Revision$
:: $Date$
:: $Id$
:: $HeadURL$
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: }}}1 :::::::::::
@ECHO OFF

SETLOCAL
SET PATH=%PATH%;C:\opt\Git\bin
SET PATH=%PATH%;C:\opt\Scala\2.10.0\bin

CALL scala -save %~f0 %*
ENDLOCAL

GOTO :eof
::!#

import scala.sys.process._

("git" :: "pull" :: "https://github.com/iPaulPro/aFileChooser" :: Nil).!
("git" :: "pull" :: "origin" :: "dev" :: Nil).!

// vim: set wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
// vim: set textwidth=0 filetype=scala foldmethod=marker nospell :
29 changes: 29 additions & 0 deletions Git-Pull.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/opt/local/bin/zsh
########################################################### {{{1 ###########
# Copyright © 2005 … 2013 Martin Krischik
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
############################################################################
# $Author: krischik $
# $Revision: 4694 $
# $Date: 2012-03-29 20:47:27 +0200 (Do, 29. Mär 2012) $
# $Id: Start-Vim.command 4694 2012-03-29 18:47:27Z krischik $
# $HeadURL: https://uiq3.svn.sourceforge.net/svnroot/uiq3/trunk/Java/Utilities/Start-Vim.command $
########################################################### }}}1 ###########

scala -save Git-Pull.cmd

# vim: set wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :
45 changes: 45 additions & 0 deletions Maven-Deploy.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
::#!
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: {{{1 :::::::^::::
:: Copyright © 2013 Martin Krischik
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: $Author$
:: $Revision$
:: $Date$
:: $Id$
:: $HeadURL$
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: }}}1 :::::::::::
@ECHO OFF

SETLOCAL
SET PATH=%PATH%;C:\opt\Git\bin
SET PATH=%PATH%;C:\opt\Scala\2.10.0\bin
SET Scala_Library="${WORK}/Repositories/Local/net/sourceforge/uiq3/Calculator-Script/${CALCULATOR_VERSION}/Calculator-Script-${CALCULATOR_VERSION}.jar"

PUSHD "AndroidAnnotations"
CALL scala -classpath %Scala_Library% -save ..\Maven-Deploy.cm %*
POPD
ENDLOCAL

GOTO :eof
::!#

import scala.sys.process._
import net.sourceforge.uiq3.Maven.mvn
import net.sourceforge.uiq3.Shell.Err_Exit_Call

val Maven_Deploy = System.getenv ("MAVEN_DEPLOY")
val Project_Name = System.getenv ("PROJECT_NAME")
val Maven_Name = Project_Name +" Maven Repository"

Err_Exit_Call (mvn ::: "--activate-profiles" :: "release" :: "clean" :: Nil)
Err_Exit_Call (mvn ::: "--activate-profiles" :: "release" :: "install" :: Nil)
Err_Exit_Call (mvn ::: "--activate-profiles" :: "release" :: "javadoc:javadoc" :: Nil)
Err_Exit_Call (mvn ::: "--activate-profiles" :: "release" :: "source:jar" :: Nil)
Err_Exit_Call (mvn :::
"--define" :: "repo.id=" + Project_Name ::
"--define" :: "repo.name=" + Maven_Name ::
"--define" :: "repo.url=" + Maven_Deploy ::
"deploy" :: Nil )

// vim: set wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
// vim: set textwidth=0 filetype=scala foldmethod=marker nospell :
46 changes: 46 additions & 0 deletions Maven-Deploy.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/opt/local/bin/zsh
########################################################### {{{1 ###########
# Copyright © 2005 … 2013 Martin Krischik
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
############################################################################
# $Author: krischik $
# $Revision: 4694 $
# $Date: 2012-03-29 20:47:27 +0200 (Do, 29. Mär 2012) $
# $Id: Start-Vim.command 4694 2012-03-29 18:47:27Z krischik $
# $HeadURL: https://uiq3.svn.sourceforge.net/svnroot/uiq3/trunk/Java/Utilities/Start-Vim.command $
########################################################### }}}1 ###########

local Download_Server="krischik,uiq3@shell.sourceforge.net"
local Scala_Library="${WORK}/Repositories/Local/net/sourceforge/uiq3/Calculator-Script/6.2.0/Calculator-Script-6.2.0.jar"

ssh-add \
/Users/martin/.ssh/id_rsa \
/Users/martin/.ssh/id_dsa \
/Users/martin/.ssh/Martin_Krischik_SF

scala -classpath ${Scala_Library} -save Maven-Deploy.cmd

pushd "/Work/HomePage/uiq3/htdocs"
rsync \
--archive \
--delete \
--verbose \
--keep-dirlinks \
"Repository" \
"krischik,uiq3@web.sourceforge.net:htdocs"
popd
# vim: set wrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :
Loading