license rename: fix the rest of it.
parent
73de6246b7
commit
d4b8e44399
|
@ -103,11 +103,11 @@ HELP: set-file-permissions
|
|||
{ $description "Sets the file permissions for a given file with the supplied Unix permissions integer." }
|
||||
{ $examples "Using the traditional octal value:"
|
||||
{ $code "USING: io.files.info.unix kernel ;"
|
||||
"\"resource:license.txt\" 0o755 set-file-permissions"
|
||||
"\"resource:LICENSE.txt\" 0o755 set-file-permissions"
|
||||
}
|
||||
"Higher-level, setting named bits:"
|
||||
{ $code "USING: io.files.info.unix kernel literals ;"
|
||||
"\"resource:license.txt\""
|
||||
"\"resource:LICENSE.txt\""
|
||||
"flags{ USER-ALL GROUP-READ GROUP-EXECUTE OTHER-READ OTHER-EXECUTE }"
|
||||
"set-file-permissions"
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ HELP: with-mapped-array
|
|||
{ $unchecked-example
|
||||
"USING: alien.c-types io.mmap prettyprint specialized-arrays ;"
|
||||
"SPECIALIZED-ARRAY: uint"
|
||||
"resource:license.txt\" uint [
|
||||
"resource:LICENSE.txt\" uint [
|
||||
[ . ] each
|
||||
] with-mapped-array"
|
||||
""
|
||||
|
|
|
@ -4,6 +4,6 @@ USING: io io.files io.encodings.ascii ;
|
|||
IN: tools.deploy.test.19
|
||||
|
||||
: main ( -- )
|
||||
"vocab:LICENSE.txt" ascii file-contents write ;
|
||||
"resource:LICENSE.txt" ascii file-contents write ;
|
||||
|
||||
MAIN: main
|
||||
|
|
|
@ -48,7 +48,7 @@ HELP: checksum-file
|
|||
{ $examples
|
||||
{ $example
|
||||
"USING: checksums checksums.crc32 prettyprint ;"
|
||||
"\"resource:license.txt\" crc32 checksum-file ."
|
||||
"\"resource:LICENSE.txt\" crc32 checksum-file ."
|
||||
"B{ 100 139 199 92 }"
|
||||
}
|
||||
} ;
|
||||
|
|
Loading…
Reference in New Issue