mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 03:36:32 +08:00
* move source to src folder * Rename zabapgit.prog.abap to src/zabapgit.prog.abap * Rename zabapgit.prog.xml to src/zabapgit.prog.xml * move unit tests to separate include * add abapmerge * Update .travis.yml * add typings * Update .travis.yml * test * Update package.json * Create travis.sh * Update .travis.yml * Update .travis.yml * travis.sh executable * Update travis.sh * Update travis.sh * test * Update .travis.yml * Update travis.sh * Update travis.sh * Update travis.sh * Update travis.sh * Update .travis.yml * Update travis.sh * Update travis.sh * Update travis.sh * Update travis.sh * Update travis.sh * Update travis.sh * Update travis.sh * new token * use txt instead, allows for easier download
This commit is contained in:
parent
0fc07c26ce
commit
7618cada58
|
@ -3,7 +3,7 @@
|
|||
<asx:values>
|
||||
<DATA>
|
||||
<MASTER_LANGUAGE>E</MASTER_LANGUAGE>
|
||||
<STARTING_FOLDER>/</STARTING_FOLDER>
|
||||
<STARTING_FOLDER>/src/</STARTING_FOLDER>
|
||||
<IGNORE>
|
||||
<item>/.travis.yml</item>
|
||||
<item>/CONTRIBUTING.md</item>
|
||||
|
|
11
.travis.yml
11
.travis.yml
|
@ -2,4 +2,13 @@ language: node_js
|
|||
node_js:
|
||||
- "6"
|
||||
notifications:
|
||||
email: false
|
||||
email: false
|
||||
deploy:
|
||||
provider: script
|
||||
script: ./travis.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: abapmarge
|
||||
env:
|
||||
global:
|
||||
secure: "JEKitZ+1to7pt4/lLcWJ0mtWuCRFxEBbps9hEFtHrenxBZR0dSekrLkhXBm9qRLJ6b0QLdYV0855/BiZlvOWuecB5kujbYLoCClx7+DWFszLQKgLf9UPbBoqkoLhvAtpGbAx7aMuBrqFnAD4ZBjybjEDJ5SHnxsWfu7AA2YrtPOUZvFZLqdP4muhwfVuYv+1CRZNJMZHtR4lw1R7kVQggaQmD04iMP/NKQuqNyjEC13zUxDLv5tskDAvl3OrPA3Ybx7Z0GM6piA+EkUoXtc3qnpe7e7j0IHBWpLwOjBOju4n1gMdZ13q1UzoLLsJV17jrg8tSoWw/F/Yqlo50qdRAsg6RCX4k5UpIP7mttStb9iT2pZlfwIAWHQF6aN67ic8F/AuPquMHKEgu/qfj1NK+6lfX0OHM6ovtAnNOozkSUikf7JxMeTlZLLOk+ZSTIYbxDsojMra8jeYmLtOLeFRu485fooXPt0n0aAzHDNuq7xQejvWZ0TGgxytc+A5b5y9YTsLSTZrQZmnxPweSgDSfLPY5HXK51nzEYGSP0tP4BlPAxysAsFoeLgr4oiham1ZxKfCNs7g5Cjc6Zbo1Zuq4Iza4HFl57I96QgyjFLgyFTdzfK6HJvUyIb/+fLK2RfCy0QbYboHej2Ki111I5UjkYITd+nyzmYiX9clJqSBeww="
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "abaplint *.abap"
|
||||
"test": "abaplint src/*.abap"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/larshp/abapGit.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"abapmerge": "^0.5.0",
|
||||
"typings": "^1.3.1",
|
||||
"abaplint": ">=0.0.16"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
1386
src/zabapgit_unit_test.prog.abap
Normal file
1386
src/zabapgit_unit_test.prog.abap
Normal file
File diff suppressed because it is too large
Load Diff
48
src/zabapgit_unit_test.prog.xml
Normal file
48
src/zabapgit_unit_test.prog.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<abapGit version="v1.0.0" serializer="LCL_OBJECT_PROG" serializer_version="v1.0.0">
|
||||
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
|
||||
<asx:values>
|
||||
<PROGDIR>
|
||||
<NAME>ZABAPGIT_UNIT_TEST</NAME>
|
||||
<STATE>A</STATE>
|
||||
<SQLX/>
|
||||
<EDTX/>
|
||||
<VARCL>X</VARCL>
|
||||
<DBAPL/>
|
||||
<DBNA/>
|
||||
<CLAS/>
|
||||
<TYPE/>
|
||||
<OCCURS/>
|
||||
<SUBC>I</SUBC>
|
||||
<APPL/>
|
||||
<SECU/>
|
||||
<CNAM/>
|
||||
<CDAT>0000-00-00</CDAT>
|
||||
<UNAM/>
|
||||
<UDAT>0000-00-00</UDAT>
|
||||
<VERN/>
|
||||
<LEVL/>
|
||||
<RSTAT/>
|
||||
<RMAND/>
|
||||
<RLOAD>E</RLOAD>
|
||||
<FIXPT/>
|
||||
<SSET/>
|
||||
<SDATE>0000-00-00</SDATE>
|
||||
<STIME/>
|
||||
<IDATE>0000-00-00</IDATE>
|
||||
<ITIME/>
|
||||
<LDBNAME/>
|
||||
<UCCHECK>X</UCCHECK>
|
||||
</PROGDIR>
|
||||
<TPOOL>
|
||||
<item>
|
||||
<ID>R</ID>
|
||||
<KEY/>
|
||||
<ENTRY>Program ZABAPGIT_UNIT_TEST</ENTRY>
|
||||
<LENGTH>26</LENGTH>
|
||||
<SPLIT/>
|
||||
</item>
|
||||
</TPOOL>
|
||||
</asx:values>
|
||||
</asx:abap>
|
||||
</abapGit>
|
15
travis.sh
Executable file
15
travis.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
abapmerge src/zabapgit.prog.abap > ../zabapgit.abap
|
||||
wc -l ../zabapgit.abap
|
||||
cd ..
|
||||
git clone https://github.com/larshp/abapGit.git -b gh-pages pages
|
||||
ls -l
|
||||
cp zabapgit.abap pages/build/zabapgit$(date -u "+%Y-%m-%d-%H-%M-%S").txt
|
||||
cp zabapgit.abap pages/build/zabapgit.txt
|
||||
cd pages
|
||||
git status
|
||||
git config --global user.email "builds@travis-ci.com"
|
||||
git config --global user.name "Travis CI"
|
||||
git add build/*.txt
|
||||
git commit -m "Travis build $TRAVIS_BUILD_NUMBER"
|
||||
git push -q https://$GITHUB_API_KEY@github.com/larshp/abapGit.git gh-pages > /dev/null 2>&1
|
Loading…
Reference in New Issue
Block a user