- repo: local
hooks:
- id: flutter-format-lib
name: format-lib
entry: dartfmt -l 150 -w lib
language: system
"buildOptions": {
"compile": {
"include": [ "../NLog.Targets.Syslog/**/*.cs" ]
},
"warningsAsErrors": false,
"outputName": "NLog.Targets.Syslog",
"xmlDoc": true
},
#if NET45
#if NETSTANDARD1_6
RUN apt-get update && apt-get install -y git
RUN mkdir -p /root/.ssh
ADD youkey /root/.ssh/id_rsa
RUN chmod 700 /root/.ssh/id_rsa
RUN echo "Host youkey"$'\n'"HostName bitbucket.org"$'\n'"IdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
# Create known_hosts
RUN touch /root/.ssh/known_hosts
# Add bitbuckets key
RUN ssh-keyscan bitbucket.org >> /root/.ssh/known_hosts
RUN git clone git@bitbucket.org:Login/repo.git
$scope.editTextSave = function (bookid, partbookId, textOfBookId) {
$http({
url: '/Text/EditSave/' + bookid + '/' + partbookId + '/' + textOfBookId,
method: 'POST',
data: JSON.stringify({
TextId: textOfBookId,
TextBook:$scope.htmlcontent,
BookId: bookid,
PartId: partbookId
}),
headers: { 'Content-Type': 'application/json' },
transformRequest: false
}).success(function (data) {
});
};
[HttpPost]
[Route("Text/EditSave/{booklink?}/{partbookId?}/{textOfBookId?}")]
public async Task<bool> EditSave([FromBody]TextOfBookViewModel model)
{
return true;
}