Rename folders
This commit is contained in:
parent
2c9e8cae98
commit
6cbbd6a9da
|
@ -1,40 +0,0 @@
|
|||
version: 2
|
||||
show_swift_version: &show_swift_version
|
||||
run:
|
||||
name: Swift version
|
||||
command: swift -version
|
||||
jobs:
|
||||
unit-tests:
|
||||
macos:
|
||||
xcode: "9.3.0"
|
||||
steps:
|
||||
- checkout
|
||||
- <<: *show_swift_version
|
||||
- run:
|
||||
name: Run unit tests
|
||||
command: swift test --filter SteemTests
|
||||
integration-tests:
|
||||
macos:
|
||||
xcode: "9.3.0"
|
||||
steps:
|
||||
- checkout
|
||||
- <<: *show_swift_version
|
||||
- run:
|
||||
name: Run integration tests
|
||||
command: swift test --filter SteemIntegrationTests
|
||||
linux-tests:
|
||||
docker:
|
||||
- image: norionomura/swift:swift-4.2-branch
|
||||
steps:
|
||||
- checkout
|
||||
- <<: *show_swift_version
|
||||
- run:
|
||||
name: Run tests
|
||||
command: swift test
|
||||
workflows:
|
||||
version: 2
|
||||
build:
|
||||
jobs:
|
||||
- unit-tests
|
||||
- integration-tests
|
||||
- linux-tests
|
42
Makefile
42
Makefile
|
@ -1,42 +0,0 @@
|
|||
|
||||
SHELL := /bin/bash
|
||||
SRC_FILES := $(shell find Sources -name '*.swift')
|
||||
|
||||
Steem.xcodeproj:
|
||||
swift package generate-xcodeproj
|
||||
|
||||
docs: Steem.xcodeproj $(SRC_FILES) README.md
|
||||
@command -v jazzy >/dev/null || (echo "doc generator missing, run: [sudo] gem install jazzy"; exit 1)
|
||||
jazzy --min-acl public \
|
||||
--module Steem \
|
||||
--hide-documentation-coverage \
|
||||
--undocumented-text "" \
|
||||
--docset-icon ~/Desktop/steem.svg \
|
||||
-x -scheme,Steem-Package,-target,Steem \
|
||||
-g https://github.com/steemit/swift-steem \
|
||||
-a "Steemit Inc." \
|
||||
-u https://steem.com \
|
||||
&& touch docs
|
||||
|
||||
.PHONY: format
|
||||
format:
|
||||
@command -v swiftformat >/dev/null || (echo "formatter missing, run: brew install swiftformat"; exit 1)
|
||||
swiftformat \
|
||||
--self insert \
|
||||
--comments ignore \
|
||||
--disable redundantReturn \
|
||||
Package.swift Tests/ Sources/
|
||||
|
||||
.gh-pages:
|
||||
git clone `git config --get remote.origin.url` -b gh-pages .gh-pages
|
||||
|
||||
.PHONY: update-docs
|
||||
update-docs: .gh-pages docs
|
||||
cp -r docs/* .gh-pages/
|
||||
cd .gh-pages && git add . && git commit -m "Update docs [ci skip]" && git push
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf Steem.xcodeproj
|
||||
rm -rf .gh-pages/ docs/
|
||||
rm -rf .build/ build/
|
Loading…
Reference in New Issue