From 41cf2276f0d145721c02e07237cba70774e3ea12 Mon Sep 17 00:00:00 2001 From: Sebastian Christ Date: Tue, 16 Feb 2021 22:43:24 +0100 Subject: [PATCH] Clean up obsolete files --- .travis.yml | 42 --------- README.md | 218 ----------------------------------------------- README.org | 8 +- ci-run-tests.ros | 26 ------ 4 files changed, 3 insertions(+), 291 deletions(-) delete mode 100644 .travis.yml delete mode 100644 README.md delete mode 100755 ci-run-tests.ros diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c0f89a9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,42 +0,0 @@ -language: common-lisp -sudo: false - -addons: - apt: - packages: - - libc6-i386 - - openjdk-7-jre - -env: - global: - - PATH=~/.roswell/bin:$PATH - - ROSWELL_INSTALL_DIR=$HOME/.roswell - matrix: - - LISP=sbcl-bin COVERALLS=true - - LISP=ccl-bin - - LISP=abcl - - LISP=clisp - - LISP=ecl - -matrix: - allow_failures: - - env: LISP=clisp - - env: LISP=abcl - - env: LISP=ecl - -install: - - curl -L https://raw.githubusercontent.com/snmsts/roswell/release/scripts/install-for-ci.sh | sh - -cache: - directories: - - $HOME/.roswell - - $HOME/.config/common-lisp - -script: - - ./ci-run-tests.ros - -notifications: - email: - recipient: - - rudolfo.christ@gmail.com - on_failure: change diff --git a/README.md b/README.md deleted file mode 100644 index bfdd319..0000000 --- a/README.md +++ /dev/null @@ -1,218 +0,0 @@ -[![Build Status](https://travis-ci.org/rudolfochrist/cl-change-case.svg?branch=master)](https://travis-ci.org/rudolfochrist/cl-change-case) [![Coverage Status](https://coveralls.io/repos/github/rudolfochrist/cl-change-case/badge.svg?branch=master)](https://coveralls.io/github/rudolfochrist/cl-change-case?branch=master) [![Quicklisp](http://quickdocs.org/badge/cl-change-case.svg)](http://quickdocs.org/cl-change-case/) - - -# NAME - -cl-change-case — Convert strings between camelCase, param-case, PascalCase and more - - -# VERSION - - Version 0.1.0 - - -# SYNOPSIS - - (use-package :cl-change-case) - - (format t "~{~S~%~}" - (list (camel-case "test string") - (param-case "test string") - (pascal-case "test string"))) - - -# DESCRIPTION - -`cl-change-case` is library to convert strings between `camelCase`, `PascalCase`, `snake_case`, `param-case`, -`CONSTANT_CASE` and more. - -This is a Common Lisp port of [blakeembrey/change-case](https://github.com/blakeembrey/change-case) released under [The MIT License](https://opensource.org/licenses/MIT). - - -## Functions - - -### lower-case - -Return the string in lower case. - - (lower-case "TEST STRING") - - "test string" - - -### lower-case-first - -Lower case of the first character of string. - - (lower-case-first "TEST STRING") - - "tEST STRING" - - -### string-lower-case-p - -Test if all characters in string have lower case. - - (string-lower-case-p "test string") - - T - - -### upper-case - -Return the string in upper case. - - (upper-case "test string") - - "TEST STRING" - - -### upper-case-first - -Upper case the first character of string. - - (upper-case-first "test string") - - "Test string" - - -### string-upper-case-p - -Test if all characters in string have upper case. - - (string-upper-case-p "TEST STRING") - - T - - -### no-case - -Make string a lower case, space separated string. - - (no-case "test_stringTest") - - "test string test" - -Optionally you can provide a different replacement string. - - (no-case "test_stringTest" :replacement "$$") - - "test$$string$$test" - - -### camel-case - -Convert string to `camelCase`. - - (camel-case "test_string") - - "testString" - - -### dot-case - -Convert string to `dot.case`. - - (dot-case "Test String") - - "test.string" - - -### header-case - -Title case string but dash separated. - - (header-case "test string") - - "Test-String" - - -### param-case - -Convert string to `param-case`. - - (param-case "test string") - - "test-string" - - -### pascal-case - -Convert string to `PascalCase`. - - (pascal-case "test string") - - "TestString" - - -### path-case - -Convert string to `path/case`. - - (path-case "test string more") - - "test/string/more" - - -### sentence-case - -Makes string a lower case, space separated string with the first word capitalized. - - (sentence-case "thisIsATestString") - - "This is a test string" - - -### snake-case - -Convert string to `snake_case`. - - (snake-case "test string") - - "test_string" - - -### swap-case - -Reverse the case of each character in string. - - (swap-case "PascalCase") - - "pASCALcASE" - - -### title-case - -Make string space separated with each word capitalized. - - (title-case "this_is a_test_string") - - "This Is A Test String" - - -### constant-case - -Convert string to `CONSTANT_CASE`. - - (constant-case "test string") - - "TEST_STRING" - - -# AUTHOR - -Sebastian Christ () - - -# COPYRIGHT - -Copyright (c) 2016 Sebastian Christ (rudolfo.christ@gmail.com) - -Released under the LLGPL license. - - -# SEE ALSO - -- [blakeembrey/change-case](https://github.com/blakeembrey/change-case) - diff --git a/README.org b/README.org index 3665c52..2b68d40 100644 --- a/README.org +++ b/README.org @@ -1,20 +1,18 @@ #+STARTUP: showall #+OPTIONS: toc:nil -#+MARKDOWN: [![Build Status](https://travis-ci.org/rudolfochrist/cl-change-case.svg?branch=master)](https://travis-ci.org/rudolfochrist/cl-change-case) [![Coverage Status](https://coveralls.io/repos/github/rudolfochrist/cl-change-case/badge.svg?branch=master)](https://coveralls.io/github/rudolfochrist/cl-change-case?branch=master) [![Quicklisp](http://quickdocs.org/badge/cl-change-case.svg)](http://quickdocs.org/cl-change-case/) - * NAME cl-change-case --- Convert strings between camelCase, param-case, PascalCase and more * VERSION -#+BEGIN_SRC lisp :exports results -(format nil "Version ~A" (asdf:component-version (asdf:find-system :cl-change-case))) +#+BEGIN_SRC sh :exports results +cat version #+END_SRC #+RESULTS: -: Version 0.1.0 +: 0.2.0.1 * SYNOPSIS diff --git a/ci-run-tests.ros b/ci-run-tests.ros deleted file mode 100755 index dd1e924..0000000 --- a/ci-run-tests.ros +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -#|-*- mode:lisp -*-|# -#| -exec ros -Q -- $0 "$@" -|# - -(ql:quickload :fiveam) -(ql:quickload :cl-coveralls) -(ql:quickload :cl-change-case) -(ql:quickload :cl-change-case-test) - -(defun main (&rest argv) - (declare (ignorable argv)) - (uiop:quit (if (handler-case - (progn - (let ((5am:*debug-on-error* t) - (5am:*debug-on-failure* t)) - - (coveralls:with-coveralls (:exclude (list "t")) - (asdf:test-system :cl-change-case)) - )) - (serious-condition (c) - (describe c) - (uiop:quit 2))) - 0 - 1)))