copyright notice updated for 2022 (#172)

This commit is contained in:
Thakee Nathees 2022-04-03 00:09:57 +05:30 committed by GitHub
parent f3b220106c
commit 42883eb783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 73 additions and 38 deletions

View File

@ -1,6 +1,7 @@
MIT License
Copyright (c) 2021 Thakee Nathees
Copyright (c) 2020-2022 Thakee Nathees
Copyright (c) 2021-2022 Pocketlang Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,6 +1,6 @@
<p align="center" >
<img src="https://user-images.githubusercontent.com/41085900/117528974-88fa8d00-aff2-11eb-8001-183c14786362.png" width="500" >
<img src="https://user-images.githubusercontent.com/41085900/161365989-f3fd47bb-7ea7-4114-8e9b-2224e1193079.png" width="500" >
</p>
**Pocketlang** is a small (~3000 semicolons) and [fast](https://github.com/ThakeeNathees/pocketlang#performance)
@ -79,10 +79,8 @@ cl /Fepocket cli/*.c src/*.c /Isrc/include && rm *.obj
```
make
```
To run make file on windows with `mingw`, you require `make` and `find` unix tools in your path.
Which you can get from [msys2](https://www.msys2.org/) or [cygwin](https://www.cygwin.com/). Run
`set PATH=<path-to-env/usr/bin/>;%PATH% && make`, this will override the system `find` command with
unix `find` for the current session, and run the `make` script.
To run the make file on windows with `mingw`, you require the GNU `make` tool which you can get
from [msys2](https://www.msys2.org/) or [cygwin](https://www.cygwin.com/).
#### Windows batch script
```

View File

@ -20,17 +20,21 @@ shift
shift
:PARSE_ARGS
if (%1)==(-clean) goto :CLEAN
if (%1)==(-h) goto :PRINT_USAGE
if (%1)==(-c) goto :CLEAN
if (%1)==(-r) set debug_build=false&& goto :SHIFT_ARG_1
if (%1)==(-s) set shared_lib=true&& goto :SHIFT_ARG_1
if (%1)==() goto :CHECK_MSVC
echo Invalid argument "%1"
:PRINT_USAGE
echo Usage: call build.bat [options ...]
echo options:
echo -r Compile the release version of pocketlang (default = debug)
echo -s Link the pocket as shared library (default = static link).
echo -clean Clean all compiled/generated intermediate binary.
echo -h display this message
echo -r Compile the release version of pocketlang (default = debug)
echo -s Link the pocket as shared library (default = static link).
echo -c Clean all compiled/generated intermediate binary.
goto :END
:: ----------------------------------------------------------------------------
@ -89,6 +93,12 @@ set addnl_cdefines=/D_CRT_SECURE_NO_WARNINGS
set root_dir=..\..\..\
if "%debug_build%"=="false" (
:: Not sure why, but the release build are much slower with this script.
:: I might have to double check the compilation flags.
echo TODO: This Batch script doesn't support release builds for now
exit /b 1
set cflags=%cflags% -O2 -MD
set target_dir=build\release\
) else (
@ -152,8 +162,8 @@ goto :SUCCESS
:CLEAN
if exist "debug" rmdir /S /Q "debug"
if exist "release" rmdir /S /Q "release"
if exist "build/debug" rmdir /S /Q "build/debug"
if exist "build/release" rmdir /S /Q "build/release"
echo.
echo Files were cleaned.

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2021 Thakee Nathees
* Copyright (c) 2020-2022 Thakee Nathees
* Copyright (c) 2021-2022 Pocketlang Contributors
* Distributed Under The MIT License
*/