Commit Graph

41 Commits

Author SHA1 Message Date
JP Simard 16ca04905c 0.16.1: Commutative Fabric Sheets 2017-01-20 10:32:33 -08:00
JP Simard a16e77c39e fix swiftlint version with SPM
all done by @marcelofabri, originally in #1073
2017-01-07 00:09:27 -08:00
Marcelo Fabri eb25fad75f Merge pull request #1087 from marcelofabri/swift2-tests
Run tests with Swift 2.3 set for SourceKitten
2016-12-30 02:02:14 -02:00
Marcelo Fabri 3301c1c15a Invert tests order 2016-12-30 01:01:47 -02:00
Marcelo Fabri d75cd234f7 Run tests with Swift 2.3 set for SourceKitten
This should help preventing issues like #1019.
2016-12-30 00:06:51 -02:00
Marcelo Fabri a85a6c0fbf Fix adding LICENSE to portable_zip
Fixes #1083
2016-12-29 21:49:16 -02:00
JP Simard 7abbd847e3 fix 'pod trunk push' commands
must push one spec at a time, and if more than one exists,
must specify them by name.

Also include the 'LICENSE' file in the portable zip and let
SwiftLint.podspec know about it.
2016-12-18 18:23:09 -08:00
JP Simard a58419c0ed fix make publish 2016-12-18 16:53:31 -08:00
Marcelo Fabri f722f76575 Updates docker image to use Swift 3.0.2 2016-12-18 00:36:15 -02:00
JP Simard 0bdf6faf73 add make docker_test and run Linux tests on Travis 2016-12-11 14:04:49 -08:00
JP Simard 196dcdb628 add make publish
to publish to both CocoaPods trunk and Homebrew
2016-12-06 22:35:42 -08:00
JP Simard 14d01f84c7 add portable_zip step to make release 2016-12-06 22:35:23 -08:00
JP Simard b2c5e6c028 add make set_version 2016-12-06 22:09:51 -08:00
JP Simard f4827919aa add make get_version 2016-12-06 22:09:41 -08:00
JP Simard 950161de0a Speed up getting the version string 2016-12-06 22:09:13 -08:00
JP Simard 78284d2ad9 Merge pull request #669 from vokal/feature/portable-target
Add "portable_zip" target in Makefile
2016-06-07 10:49:53 -07:00
Norio Nomura 424d1c1472 Remove settings-for-all-projects.xcconfig and add flags into XCODEFLAGS in Makefile 2016-06-01 21:09:52 +09:00
Isaac Greenspan 4db36342c7 Add target to the Makefile for making a "portable" zip.
The zip contains the executable and the framework, with the executable modified to look for the framework in the same directory as the executable.
2016-05-17 18:15:26 -05:00
Norio Nomura c2eadaa922 [SPM] Run make spm_test on Travis-CI
`swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a` supports `SWIFT_EXEC` environment variable that points `swiftc` for building `*.swift`
2016-04-13 18:25:01 +09:00
Norio Nomura 5c0045e29a Add -configuration options to clean target in Makefile
`xcodebuild clean` uses `Debug` configuration without `-configuration`
option, and cleans directories that used by `Debug` configuration. But
`make install` uses `-configuration Release` by scheme of project.

By this change, `clean` cleans all directories that used by `Debug`,
`Release` and `Test` configurations.
2016-03-30 12:32:47 +09:00
Norio Nomura 55fce2c108 [SPM] Update Makefile to using swift test 2016-03-19 10:05:18 +09:00
Norio Nomura ee44cedadf [SPM] Update to swift-DEVELOPMENT-SNAPSHOT-2016-03-01-a 2016-03-19 09:31:18 +09:00
Norio Nomura cf15800474 [SPM] Remove spm_bootstrap and spm_teardown from Makefile 2016-03-19 09:31:18 +09:00
Norio Nomura 4622bfbf47 Change to use spm_bootstrap and spm_teardown from SourceKitten 2016-02-09 16:58:18 +09:00
Norio Nomura 3f772059a7 Requiring no llbuild flags
Same approach as https://github.com/jpsim/SourceKitten/pull/168
2016-02-09 11:09:08 +09:00
JP Simard b43fde613b update YamlSwift to 1.4.2 2016-02-07 22:30:22 -08:00
Norio Nomura e78ddbf806 [SPM] Update to swift-DEVELOPMENT-SNAPSHOT-2016-02-03-a 2016-02-05 18:59:27 +09:00
Norio Nomura eab4329704 [SPM] Add make spm_test 2016-02-03 13:31:51 +09:00
Norio Nomura f4711623fd Add make swift_snapshot_install, spm, spm_clean & spm_clean_dist 2016-02-01 13:53:45 +09:00
toshi0383 3b913bebba Fix regex to grep compilation time output correctly
Now we can catch "10.0ms", but not "0.0ms".
2016-01-28 13:06:16 -08:00
Norio Nomura d193add338 Add test action to xcodebuild 2016-01-19 11:54:03 +09:00
Norio Nomura 954d2e2cf8 Add make display_compilation_time
#382
SeeAlso: http://irace.me/swift-profiling/
2016-01-19 09:36:54 +09:00
Norio Nomura 3e9a0b9b2d Fix Homebrew bottling error
`brew install --verbose --build-bottle swiftlint` failed by the error on https://github.com/Homebrew/homebrew/pull/47688

See also: https://github.com/realm/SwiftLint/pull/328#issuecomment-170214980
2016-01-13 09:41:39 +09:00
JP Simard 943c0b6814 add 'archive' and 'release' actions to Makefile 2015-12-12 18:00:18 -08:00
Norio Nomura 9c4874892f Fix rpath for Xcode debugger
A path for debugging should be search before installed path, and be removed on install.
2015-12-03 13:07:38 +09:00
Norio Nomura 2e110c4e7c Change prefix_install of Makefile
For Homebrew installation, RPATH should be following:
```
% otool -l /usr/local/bin/swiftlint
…
Load command 25
          cmd LC_RPATH
      cmdsize 104
         path @executable_path/../Frameworks/SwiftLintFramework.framework/Versions/Current/Frameworks (offset 12)
Load command 26
          cmd LC_RPATH
      cmdsize 48
         path @executable_path/../Frameworks (offset 12)
```
2015-12-03 11:25:50 +09:00
Norio Nomura 6a1dca4725 Use cp -Rf instead of cp -rf in Makefile
`-r` option of `cp` copies symbolic links as normal files.
As the result of that, SwiftLintFramework.framework that distributed by Homebrew contains a lot of duplicated files inside that.
`-R` option copies symbolic links as symbolic links.

On my testing, this fix reduces the size of swiftlint-0.4.0.el_capitan.bottle.tar.gz from 17.2MB to 4.3MB.
2015-11-20 19:22:55 +09:00
JP Simard 55a1f97718 uninstall before make install. fixes #134 & #158. 2015-11-17 17:23:25 -08:00
JP Simard 8a30cb2e3d organize Xcode project
make Extensions, Models & Protocols groups under SourceKittenFramework
2015-11-15 15:07:25 -08:00
JP Simard 76939117e8 [Makefile] Fixed prefix_install issue 2015-05-29 09:44:18 -07:00
JP Simard 767add47e8 First commit 2015-05-16 18:58:10 +02:00