Skip to content

Commit

Permalink
Add rake task to generate the test manifest files
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Aug 28, 2018
1 parent 3f298ae commit 9700bf5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ CONFIGURATION = 'Debug'.freeze
POD_NAME = 'StencilSwiftKit'.freeze
MIN_XCODE_VERSION = 9.2

## [ Generate SPM files ] #####################################################

namespace :spm do
desc 'Generate the tests manifest for SPM'
task :generate_test_manifests do |task|
File.delete("Tests/#{WORKSPACE}Tests/XCTestManifests.swift")
Utils.run('swift test --generate-linuxmain', task, xcrun: true)
end
end

## [ Release a new version ] ##################################################

namespace :release do
Expand Down

0 comments on commit 9700bf5

Please sign in to comment.