Re: Very tiny script for testing D projects with Pijul version control system.

2018-02-02 Thread Suliman via Digitalmars-d-announce
Good news! Working version: @echo off for %%a in ("%cd%") do set folder=%%~na winscp.com /command "open devuser@172.16.16.11 -privatekey=C:\Users\suliman\.ssh\123.ppk" "put latest.tar.gz /home/devuser/folder/" "exit" 1. File-name hard-coded 2. WinSCP should be installed and added to PATH

Re: Very tiny script for testing D projects with Pijul version control system.

2018-01-26 Thread Suliman via Digitalmars-d-announce
Could anybody help me? I decided to use key-auth instead pass-auth. But when I run next command I am getting error: winscp.com /command "open devuser@172.17.18.127" /privatekey=C:\Users\dev\.ssh\my_private_key.ppk "put latest.tar.gz /home/devuser/folder" "exit" about wrong syntax.

Re: Very tiny script for testing D projects with Pijul version control system.

2017-10-14 Thread Suliman via Digitalmars-d-announce
Here is Windows .bat file that complete uploading project to server with SSH: upload.bat: @echo off for %%a in ("%cd%") do set folder=%%~na winscp.com /command "open sftp://root:PassW0rd@127.0.0.1:"; "put latest.tar.gz /code/%folder%/" "exit" Local folder name should be same with remote n

Very tiny script for testing D projects with Pijul version control system.

2017-10-14 Thread Suliman via Digitalmars-d-announce
GIT IMHO very heavy for tiny projects. And I decided to try http://pijul.com/ I am developing on Windows, but I need to test code on Linux. So I did very simple tool-chain: Developing on Windows. Making package with command: `pijul dist -d latest` Syncing code to Linux VPS/VirtualBox instance wi