Commit Graph

  • 10cf827d8b Add CatchingFire testing framework. Kare Morstol 2015-09-02 22:56:54 +02:00
  • 239d32edfd Rename ‘$’ to ‘run’. Kare Morstol 2015-09-02 17:34:40 +02:00
  • a8bfc6b1a6 Add 'runAsync' commands for asynchronous shell execution. Kare Morstol 2015-09-02 16:55:33 +02:00
  • 3218fd4315 Update for Xcode 7 beta 6. Kare Morstol 2015-08-28 00:34:01 +02:00
  • c8bde4b57b Rename 'printErrorAndExit(' to 'exit(errormessage:'. Kare Morstol 2015-08-13 20:20:44 +02:00
  • 73c405787a Allow ‘writeln’ to write anything, just like ‘write’. Kare Morstol 2015-08-13 20:13:05 +02:00
  • e868d67050 Fix assert message. Kare Morstol 2015-08-13 20:09:57 +02:00
  • b45ccd814c Add unit tests for everything that doesn't result in printErrorAndExit. Kare Morstol 2015-08-09 23:07:27 +02:00
  • 2cd0b9bf4d Trim even if one-line-string does not end with \n. Kare Morstol 2015-08-09 22:37:47 +02:00
  • a23f680cbf Allow $() to read from stdin. Kare Morstol 2015-08-09 22:35:51 +02:00
  • 94a5215c1d Enable Code Coverage. To write some missing unit tests. Kare Morstol 2015-08-09 22:34:54 +02:00
  • 46948ed806 Fix wildly misleading line in doc for ShellContextType.currentdirectory. Kare Morstol 2015-08-09 22:24:57 +02:00
  • 2ce7810a37 Update for Xcode 7 beta 5. Kare Morstol 2015-08-06 23:18:45 +02:00
  • da3a0f5361 Add $(bash:) . Refactor command.swift. Kare Morstol 2015-08-06 02:56:22 +02:00
  • 5ce7196bf7 Let NSFileHandle.write accept anything. Kare Morstol 2015-08-05 23:23:07 +02:00
  • 60e98f3ba5 Add assertion via shell command to testCurrentDirectory_CanChange. Kare Morstol 2015-08-05 21:12:37 +02:00
  • 6f967c0683 Add $ method to ShellContextType. Kare Morstol 2015-08-05 21:10:00 +02:00
  • ee48f4c5a2 Add read and write methods to NSFilehandle. Kare Morstol 2015-08-05 20:57:02 +02:00
  • 7c443bfb1a Add protocol ShellContextType and let “main” implement it. Kare Morstol 2015-08-05 20:26:50 +02:00
  • 576812b3e8 Simplify headers and update year. Kare Morstol 2015-08-04 13:35:33 +02:00
  • 5252385e35 Add much needed Context and printErrorAndExit. Kare Morstol 2015-07-20 01:47:27 +02:00
  • 4aeb5d7daa Update for Xcode 7 beta 4. Kare Morstol 2015-08-03 22:28:37 +02:00
  • 5564eec6c7 Set Swift version. v0.2 Kare Morstol 2015-07-20 01:51:37 +02:00
  • 8bec5cf499 Eviscerate pretty much everything. Kare Morstol 2015-07-19 22:49:39 +02:00
  • 9ba2b1f186 Rename newtask to runLater and make public. Kare Morstol 2015-07-19 22:28:52 +02:00
  • 0888054ad0 Shell tests use new Xcode project. Kare Morstol 2015-07-19 22:14:33 +02:00
  • 1235a8cbba Setup new Xcode project with actually working playground. Kare Morstol 2015-07-19 22:00:34 +02:00
  • ed2b96f8d5 Remove non-working playground. Update project format to 6.3. Kare Morstol 2015-07-19 21:59:50 +02:00
  • 141d6a2fc5 Set Swift version. Kare Morstol 2015-07-19 21:00:19 +02:00
  • 0b5680c9ab Simplify speedtests. Kare Morstol 2015-07-09 20:38:41 +02:00
  • 0e369c5b48 Update to Xcode 7 beta 3. Kare Morstol 2015-07-09 20:37:25 +02:00
  • 53571c5d33 Readme: Remove double "the" Kare Morstol 2015-07-03 10:53:45 +02:00
  • c068b95af2 Update readme with link to Swift 2.0 version. Kare Morstol 2015-06-28 01:28:26 +02:00
  • b470f665ec Update readme with link to master. Kare Morstol 2015-06-28 01:19:51 +02:00
  • 068473a2fb Enable tests that now pass in Swift 2.0 . Kare Morstol 2015-06-28 00:54:09 +02:00
  • a9dbdcf629 Update to Swift 2.0 . Kare Morstol 2015-06-28 00:52:40 +02:00
  • f6094b32d7 Put parameters to Swift.split in the new order. Kare Morstol 2015-06-17 22:15:31 +02:00
  • 68bcb660d7 Readme: Add link to documentation generated by https://github.com/realm/jazzy. Kare Morstol 2015-05-19 20:01:59 +02:00
  • 5b6359d5fd New documentation generated by https://github.com/realm/jazzy. Kare Morstol 2015-05-19 19:34:08 +02:00
  • fc77c78567 Delete everything before moving to different documentation generator. Kare Morstol 2015-05-19 19:26:40 +02:00
  • 9e591d694c Update README.md, remove paragraph about support for functional programming. Kare Morstol 2015-04-13 08:15:04 +02:00
  • e55b2f91f5 Small changes to documentation Kare Morstol 2015-03-20 22:02:28 +01:00
  • 7c80b8dbab Add guidelines for contributions Kare Morstol 2015-03-20 01:16:58 +01:00
  • f76c81edc2 Undo changes to workdirectory as the bug has been fixed in Xcode 6.3 beta 2. Kare Morstol 2015-02-28 00:08:44 +01:00
  • 908a8ecaae Revert "Fix compiler crash - make workdirectory a struct" Kare Morstol 2015-02-27 23:53:32 +01:00
  • 9e2d44682f Revert "Move workdirectory to NSFileManager extension." Kare Morstol 2015-02-27 23:52:56 +01:00
  • 96526987f3 Update readme with link to version for Swift 1.1 Kare Morstol 2015-02-14 18:36:55 +01:00
  • 6649595b98 Convert speedtests to Swift 1.2. Kare Morstol 2015-02-14 16:09:57 +01:00
  • fe682a6217 Merge branch 'swift1.2' Kare Morstol 2015-02-14 00:41:16 +01:00
  • f8f7c78de9 Move workdirectory to NSFileManager extension. Kare Morstol 2015-02-14 00:34:52 +01:00
  • 6c22fb9e14 Disable unit tests with runtime crashes in Swift 1.2 Kare Morstol 2015-02-13 23:18:40 +01:00
  • e8333f2922 Fix compiler crash - make workdirectory a struct beltex 2015-02-13 12:33:15 -05:00
  • 9c69f0b1bc Update to Swift 1.2 beltex 2015-02-12 16:59:19 -05:00
  • 34e0464b87 Fix links to JavaScript and CSS. Kare Morstol 2015-02-08 00:47:28 +01:00
  • 9197b3d447 Add baseurl to config file Kare Morstol 2015-01-30 03:04:09 +01:00
  • ecf0301a41 Add correct URL to configuration file Kare Morstol 2015-01-30 01:57:46 +01:00
  • 12995e5e4a Add Jekyll _generated_ site Kare Morstol 2015-01-30 01:42:47 +01:00
  • ba500e4dcd Remove Jekyll template site Kare Morstol 2015-01-30 01:39:13 +01:00
  • 7e43022c6c Add first version of SwiftShell documentation Kare Morstol 2015-01-30 01:03:08 +01:00
  • 4e1df581b9 add _site/ to .gitignore Kare Morstol 2015-01-30 00:52:40 +01:00
  • 9555306183 Close #3: Make sure runtests.bash is using an up to date _release_ build. v0.1 Kare Morstol 2015-01-06 17:01:33 +01:00
  • cc1d152f14 Rename /Div folder to Misc. Kare Morstol 2015-01-05 19:40:27 +01:00
  • 37749ec2a3 Cleanup error messages to printErrorAndExit. Kare Morstol 2014-12-20 20:05:22 +01:00
  • 7ffcf7be5f Skip speed test "testSpeedSwiftSplit" as it takes a very long time. Kare Morstol 2014-12-18 01:49:46 +01:00
  • 11a028d4ff Fix #2: "ReadableStreamType.readSome crashes with error "6555 Illegal instruction: 4" when using a Release build of SwiftShell." Kare Morstol 2014-12-18 01:47:33 +01:00
  • 1b70b6ffc6 Mention that standard input is also a stream. Kare Morstol 2014-12-09 18:56:54 +01:00
  • cb3449a97d Add link to included works under other licences to the README. Kare Morstol 2014-12-09 18:49:58 +01:00
  • 0974453073 Mention the parameters function in the README. Kare Morstol 2014-12-09 18:37:33 +01:00
  • a1e26bfcc8 Tidy up / nitpick. Kare Morstol 2014-12-09 18:07:04 +01:00
  • a3ab54ef21 Shorten headers, and small fixes. Kare Morstol 2014-12-08 19:14:49 +01:00
  • a4aa7ca9f8 Clean up speed iteration speed tests. Still never finishes when built for Release. Kare Morstol 2014-12-08 18:36:22 +01:00
  • b9554045d8 Mention shortcut to NSFileManager.defaultManager in README. Kare Morstol 2014-12-08 00:06:34 +01:00
  • d2c33d562d Add shortcut to NSFileManager.defaultManager. Kare Morstol 2014-12-08 00:05:17 +01:00
  • 8d28ff776d Streamline the readme. Kare Morstol 2014-12-06 23:39:17 +01:00
  • 2f76425abd Replace the one remaining call to "writeTo". Kare Morstol 2014-12-05 18:40:04 +01:00
  • 4d2fca7b74 Add operator |>> for printing anything to a writable stream. Kare Morstol 2014-12-04 19:27:42 +01:00
  • 7dab983e33 Fix small typo. Kare Morstol 2014-12-04 19:23:38 +01:00
  • 1f96ffa770 Enable "/" as file path concatenation operator. Kare Morstol 2014-12-02 02:06:21 +01:00
  • 6cc240a138 Add local function "toURLOrError". Kare Morstol 2014-12-02 00:58:20 +01:00
  • e74189d008 Make tempdirectory a String instead of a NSURL. Kare Morstol 2014-12-02 00:17:39 +01:00
  • ecd20887b8 Remove a couple of double spaces. Kare Morstol 2014-12-01 23:48:26 +01:00
  • caaf5459db Move Files_Tests to its rightful position. Kare Morstol 2014-12-01 23:44:39 +01:00
  • bf19e4241b Add global variable "workdirectory". Kare Morstol 2014-12-01 23:43:39 +01:00
  • fcd7eba2a4 Fix horrendous use of spaces for indentation. Kare Morstol 2014-12-01 22:43:03 +01:00
  • 85ba6e8e0d Mark all example code as Swift. Kare Morstol 2014-12-01 20:52:57 +01:00
  • ce8eb6f004 Make URL to "tempdirectory" read only. Kare Morstol 2014-12-01 20:16:48 +01:00
  • a2985b049d Add shell unit tests and update test scripts. Kare Morstol 2014-11-26 20:48:06 +01:00
  • c65e029811 Include assert.sh from http://github.com/lehmannro/assert.sh for shell unit testing. Kare Morstol 2014-11-26 20:36:43 +01:00
  • 65625bbc75 Remove "listallexecutablesinpath.swift" and turn it into a Gist. List it as an example in the README. Kare Morstol 2014-11-26 00:00:15 +01:00
  • f60f6ae083 Add script for testing reading and writing files. Kare Morstol 2014-11-25 20:45:38 +01:00
  • b33bfb9a5f Move "temporaryDirectory" to new file Files.swift and rename it "tempdirectory". Kare Morstol 2014-11-25 20:13:49 +01:00
  • 63513dedf3 Use the new "printErrorAndExit" function. Kare Morstol 2014-11-25 19:15:21 +01:00
  • 90d10292c8 Add function "open(forWriting:, overwrite:)" for writing and appending to files. Kare Morstol 2014-11-25 01:15:36 +01:00
  • a377eb18fd Add better error reporting to “open” function. Add public function "printErrorAndExit". Kare Morstol 2014-11-23 23:28:06 +01:00
  • 05fb61a4ab Remove unnecessary whitespace, courtesy of Xcode. Kare Morstol 2014-11-23 23:19:30 +01:00
  • 30f30baa07 Fixed small typo. Kare Morstol 2014-11-23 20:22:51 +01:00
  • 0fc373937c Add link to a SwiftShell script, trash.swift. Kare Morstol 2014-11-21 21:12:13 +01:00
  • 6be3d656e3 Clean up playground. Kare Morstol 2014-11-21 20:19:00 +01:00
  • 7d667165fd Clarify note about crashing when reading from streams. Kare Morstol 2014-11-21 20:14:53 +01:00
  • 4b1e6d2689 Change countOccurrencesOfto use String.findAll. Kare Morstol 2014-11-19 22:48:13 +01:00