docs: license + version

This commit is contained in:
Chen Asraf
2022-08-07 13:26:00 +03:00
parent 4d270e3108
commit ae264b92be
3 changed files with 24 additions and 5 deletions

18
LICENSE.md Normal file
View File

@@ -0,0 +1,18 @@
# The MIT License (MIT)
Copyright © 2022 Chen Asraf
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the “Software”), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,4 +1,3 @@
// ignore: no_leading_underscores_for_library_prefixes
import 'dart:io';
import 'package:file/file.dart';

View File

@@ -1,9 +1,11 @@
name: script_runner
description: A starting point for Dart libraries or applications.
version: 1.0.0
# homepage: https://www.example.com
version: 0.1.0
homepage: https://casraf.blog/dart-script-runner/
repository: https://github.com/chenasraf/dart_script_runner
license: MIT
environment:
sdk: ">=2.18.0-271.4.beta <3.0.0"
sdk: '>=2.18.0-271.4.beta <3.0.0'
dependencies:
file: ^6.1.2
@@ -23,7 +25,7 @@ script_runner:
- name: echo2
cmd: echo
args:
- "Hello World"
- 'Hello World'
description: test script foobar
- name: activate-local
cmd: dart pub global activate --source path ~/Dev/script_runner